zig

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

commit f488f3fd03d12ea02240855d4784cc2e283af7ed (tree)
parent c8b60538ede014e9e924bf218a611bc60ea39b11
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Tue, 16 Apr 2019 03:58:15 -0400

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.

Diffstat:
Msrc/link.cpp | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git 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. }