aboutsummaryrefslogtreecommitdiff
path: root/src/link/Wasm.zig
diff options
context:
space:
mode:
authordhash <me@dha.sh>2023-09-29 13:38:54 -0400
committerCarl Åstholm <carl@astholm.se>2024-01-09 17:24:11 +0100
commit9bb643031864c8c3c2d4ac52aecb175283e335e3 (patch)
tree20e8fa8787aa7e29e9771edff9d20f8a404ea70b /src/link/Wasm.zig
parent60094cc3fc979df0928c412c9fded457172f2060 (diff)
downloadzig-9bb643031864c8c3c2d4ac52aecb175283e335e3.tar.gz
zig-9bb643031864c8c3c2d4ac52aecb175283e335e3.zip
Add support for `--(no-)undefined-version`
Co-authored-by: Motiejus Jakštys <motiejus@jakstys.lt> Co-authored-by: Jakub Konka <kubkon@jakubkonka.com> Co-authored-by: Samuel Cantero <scanterog@gmail.com> Co-authored-by: Giorgos Georgiou <giorgos.georgiou@datadoghq.com> Co-authored-by: Carl Åstholm <carl@astholm.se>
Diffstat (limited to 'src/link/Wasm.zig')
-rw-r--r--src/link/Wasm.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/link/Wasm.zig b/src/link/Wasm.zig
index 185d802588..9dbef32648 100644
--- a/src/link/Wasm.zig
+++ b/src/link/Wasm.zig
@@ -3547,7 +3547,7 @@ fn linkWithZld(wasm: *Wasm, arena: Allocator, prog_node: *std.Progress.Node) lin
// We are about to obtain this lock, so here we give other processes a chance first.
wasm.base.releaseLock();
- comptime assert(Compilation.link_hash_implementation_version == 10);
+ comptime assert(Compilation.link_hash_implementation_version == 11);
for (objects) |obj| {
_ = try man.addFile(obj.path, null);
@@ -4633,7 +4633,7 @@ fn linkWithLLD(wasm: *Wasm, arena: Allocator, prog_node: *std.Progress.Node) !vo
// We are about to obtain this lock, so here we give other processes a chance first.
wasm.base.releaseLock();
- comptime assert(Compilation.link_hash_implementation_version == 10);
+ comptime assert(Compilation.link_hash_implementation_version == 11);
for (comp.objects) |obj| {
_ = try man.addFile(obj.path, null);