aboutsummaryrefslogtreecommitdiff
path: root/src/link/SpirV.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-12-11 21:21:01 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 17:51:19 -0700
commit2be36c5b8d7d22c2ffc20b88e497da7e6612de5c (patch)
tree05c9d7f58e82ff51ffa5be439ff75b37abe3b6ba /src/link/SpirV.zig
parent2bef0715c740024c515dce73d267ead5af49d1a9 (diff)
downloadzig-2be36c5b8d7d22c2ffc20b88e497da7e6612de5c.tar.gz
zig-2be36c5b8d7d22c2ffc20b88e497da7e6612de5c.zip
linker: update references to module
Diffstat (limited to 'src/link/SpirV.zig')
-rw-r--r--src/link/SpirV.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/SpirV.zig b/src/link/SpirV.zig
index c6bb5f5588..414ebcf987 100644
--- a/src/link/SpirV.zig
+++ b/src/link/SpirV.zig
@@ -196,7 +196,7 @@ pub fn flushModule(self: *SpirV, comp: *Compilation, prog_node: *std.Progress.No
defer error_info.deinit();
try error_info.appendSlice("zig_errors");
- const module = self.base.options.module.?;
+ const module = self.base.comp.module.?;
for (module.global_error_set.keys()) |name_nts| {
const name = module.intern_pool.stringToSlice(name_nts);
// Errors can contain pretty much any character - to encode them in a string we must escape