| author | |
| committer | |
| log | 58943fc6276c49b138c98bda5abac8be2806f94f |
| tree | 7e864432eab8949933d1fe5125ebd9d47d2d9cc3 |
| parent | dd6ac9a22a48f048fa619aeca95d8e10ec24829d |
1 files changed, 4 insertions(+), 0 deletions(-)
src/link/Wasm.zig+4| ... | ... | @@ -2486,6 +2486,10 @@ fn linkWithLLD(self: *Wasm, comp: *Compilation, prog_node: *std.Progress.Node) ! |
| 2486 | 2486 | full_out_path, |
| 2487 | 2487 | }); |
| 2488 | 2488 | |
| 2489 | if (target.cpu.arch == .wasm64) { | |
| 2490 | try argv.append("-mwasm64"); | |
| 2491 | } | |
| 2492 | ||
| 2489 | 2493 | if (target.os.tag == .wasi) { |
| 2490 | 2494 | const is_exe_or_dyn_lib = self.base.options.output_mode == .Exe or |
| 2491 | 2495 | (self.base.options.output_mode == .Lib and self.base.options.link_mode == .Dynamic); |