aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-12-30 14:15:48 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-01-15 15:11:36 -0800
commita4895f3c42e8bd7d3eba5624e4a11aae5312a085 (patch)
tree00dca82208c492d01dbadd59f0100bd38d846efb /src/Compilation.zig
parent4fccb5ae7a3c3ad0f0ec79bf5eb628807c10eb62 (diff)
downloadzig-a4895f3c42e8bd7d3eba5624e4a11aae5312a085.tar.gz
zig-a4895f3c42e8bd7d3eba5624e4a11aae5312a085.zip
wasm object parsing: fix handling of weak functions and globals
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 71299bccc7..ba20c384d6 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -1596,7 +1596,7 @@ pub fn create(gpa: Allocator, arena: Allocator, options: CreateOptions) !*Compil
.pdb_source_path = options.pdb_source_path,
.pdb_out_path = options.pdb_out_path,
.entry_addr = null, // CLI does not expose this option (yet?)
- .object_host_name = null, // TODO expose in the CLI
+ .object_host_name = "env",
};
switch (options.cache_mode) {