zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit fba6b7e4c20c3d1e1701ad737ad47a2440f44ea7 (tree)
parent ec337051a92b6f65bb29ddf41a290ea8e46b37b1
Author: Robin Voetter <robin@voetter.nl>
Date:   Sat, 13 Apr 2024 14:37:46 +0200

spirv: fix error code encoding

Diffstat:
Msrc/link/SpirV.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/link/SpirV.zig b/src/link/SpirV.zig @@ -232,6 +232,7 @@ pub fn flushModule(self: *SpirV, arena: Allocator, prog_node: std.Progress.Node) // name if it contains no strange characters is nice for debugging. URI encoding fits the bill. // We're using : as separator, which is a reserved character. + try error_info.append(':'); try std.Uri.Component.percentEncode( error_info.writer(), name.toSlice(&mod.intern_pool),