diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-12-18 20:05:01 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-01-15 15:11:36 -0800 |
| commit | 070b973c4a3c25e688e9b0b59ff449a294226a05 (patch) | |
| tree | 4dd237792b09c20dad444c864da67e7e0309bfc0 /src/Compilation.zig | |
| parent | 23d0882b54f1d7b8907eac47c445cfe4e093249d (diff) | |
| download | zig-070b973c4a3c25e688e9b0b59ff449a294226a05.tar.gz zig-070b973c4a3c25e688e9b0b59ff449a294226a05.zip | |
wasm linker: allow undefined imports when lib name is provided
and expose object_host_name as an option for setting the lib name for
object files, since the wasm linking standards don't specify a way to do
it.
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 67dcbd5a3a..fd8fd357f4 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -1587,6 +1587,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 }; switch (options.cache_mode) { |
