Commit fba6b7e4c2

Robin Voetter <robin@voetter.nl>
2024-04-13 14:37:46
spirv: fix error code encoding
1 parent ec33705
Changed files (1)
src
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),