mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
spirv: fix error code encoding
This commit is contained in:
parent
ec337051a9
commit
fba6b7e4c2
@ -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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user