From 32c7f3baf9f47d793a3a57af92e94479703cf0ec Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 23 Aug 2020 02:53:13 -0400 Subject: [PATCH] Remove --no-threads from wasm-ld calls. The bugs linked from the original addition of this flag are fixed: https://bugs.llvm.org/show_bug.cgi?id=41508 or 'possibly fixed': https://bugs.llvm.org/show_bug.cgi?id=37064#c8 since LLVM 8.0.1. TinyGo only support LLVM 9+, and as noted in the original PR (#377), this can be removed when switching to 9. Additionally, this flag was dropped from LLVM 11. --- targets/wasm.json | 1 - 1 file changed, 1 deletion(-) diff --git a/targets/wasm.json b/targets/wasm.json index 447acf8c..df4d5ee3 100644 --- a/targets/wasm.json +++ b/targets/wasm.json @@ -12,7 +12,6 @@ ], "ldflags": [ "--allow-undefined", - "--no-threads", "--stack-first", "--export-all", "--no-demangle",