mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
spirv: fix error code encoding
This commit is contained in:
parent
ec337051a9
commit
fba6b7e4c2
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue