remove workaround for LLD bug

Zig's embedded LLD now has a patch to resolve the deadlock race
condition, and the patch is getting upstreamed too, so this
closes #2283.
This commit is contained in:
Andrew Kelley 2019-04-16 03:58:15 -04:00
parent c8b60538ed
commit f488f3fd03
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -1092,10 +1092,6 @@ static void construct_linker_job_wasm(LinkJob *lj) {
lj->args.append("-error-limit=0"); lj->args.append("-error-limit=0");
// This works around a deadlock in LLD's wasm code.
// See https://github.com/ziglang/zig/issues/2283.
lj->args.append("--no-threads");
if (g->zig_target->os != OsWASI) { if (g->zig_target->os != OsWASI) {
lj->args.append("--no-entry"); // So lld doesn't look for _start. lj->args.append("--no-entry"); // So lld doesn't look for _start.
} }