| author | |
| committer | |
| log | f488f3fd03d12ea02240855d4784cc2e283af7ed |
| tree | 03935f68ee85e813236aefc6a4bce7c8b57503b6 |
| parent | c8b60538ede014e9e924bf218a611bc60ea39b11 |
| signature | Commit is signed but in an unrecognized format. |
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.1 files changed, 0 insertions(+), 4 deletions(-)
src/link.cpp-4| ... | ... | @@ -1092,10 +1092,6 @@ static void construct_linker_job_wasm(LinkJob *lj) { |
| 1092 | 1092 | |
| 1093 | 1093 | lj->args.append("-error-limit=0"); |
| 1094 | 1094 | |
| 1095 | // This works around a deadlock in LLD's wasm code. | |
| 1096 | // See https://github.com/ziglang/zig/issues/2283. | |
| 1097 | lj->args.append("--no-threads"); | |
| 1098 | ||
| 1099 | 1095 | if (g->zig_target->os != OsWASI) { |
| 1100 | 1096 | 	 lj->args.append("--no-entry"); // So lld doesn't look for _start. |
| 1101 | 1097 | } |