zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 364bc66924648c798d9eb5f70607ba8a5fb991d6 (tree)
parent cd211bcc20d3d1ddd1a50d57c7645aa3445934f0
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Tue,  2 Oct 2018 09:02:14 -0400

Merge pull request #1619 from bnoordhuis/fix1570

fix build-exe for --target-arch wasm32 (#1570)
Diffstat:
Msrc/link.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/link.cpp b/src/link.cpp @@ -386,7 +386,7 @@ static void construct_linker_job_elf(LinkJob *lj) { static void construct_linker_job_wasm(LinkJob *lj) { CodeGen *g = lj->codegen; - lj->args.append("--relocatable"); // So lld doesn't look for _start. + lj->args.append("--no-entry"); // So lld doesn't look for _start. lj->args.append("-o"); lj->args.append(buf_ptr(&g->output_file_path));