diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-12-30 13:22:48 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-01-15 15:11:36 -0800 |
| commit | 4fccb5ae7a3c3ad0f0ec79bf5eb628807c10eb62 (patch) | |
| tree | 1e0d758a607bfce81eb9e285d5ef255f32b42f5b /src/Compilation.zig | |
| parent | 7d224516c4414015186bc1497ca6641b7390bf92 (diff) | |
| download | zig-4fccb5ae7a3c3ad0f0ec79bf5eb628807c10eb62.tar.gz zig-4fccb5ae7a3c3ad0f0ec79bf5eb628807c10eb62.zip | |
wasm linker: improve error messages by making source locations more lazy
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index ea514ee9ec..71299bccc7 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -3291,7 +3291,7 @@ pub fn getAllErrorsAlloc(comp: *Compilation) !ErrorBundle { })); } - try comp.link_diags.addMessagesToBundle(&bundle); + try comp.link_diags.addMessagesToBundle(&bundle, comp.bin_file); if (comp.zcu) |zcu| { if (bundle.root_list.items.len == 0 and zcu.compile_log_sources.count() != 0) { |
