mirror of
https://github.com/ziglang/zig.git
synced 2026-02-16 14:28:57 +00:00
wasm: Pass --allow-undefined and --export-all to the linker
This commit is contained in:
parent
66fab05eba
commit
3854bb9198
@ -1092,6 +1092,8 @@ static void construct_linker_job_wasm(LinkJob *lj) {
|
||||
|
||||
lj->args.append("-error-limit=0");
|
||||
lj->args.append("--no-entry"); // So lld doesn't look for _start.
|
||||
lj->args.append("--allow-undefined");
|
||||
lj->args.append("--export-all");
|
||||
lj->args.append("-o");
|
||||
lj->args.append(buf_ptr(&g->output_file_path));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user