From f488f3fd03d12ea02240855d4784cc2e283af7ed Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 16 Apr 2019 03:58:15 -0400 Subject: [PATCH] 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. --- src/link.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/link.cpp b/src/link.cpp index ad4bd7765..b85ac29e7 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -1092,10 +1092,6 @@ static void construct_linker_job_wasm(LinkJob *lj) { 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) { lj->args.append("--no-entry"); // So lld doesn't look for _start. }