From c9fc95f6f30bdc08fc9b582c1e8f894c1451f1a7 Mon Sep 17 00:00:00 2001 From: Hiroki Noda Date: Fri, 19 Jun 2020 12:57:19 +0900 Subject: [PATCH] wasm32: Add --no-demangle option LLD supports only C++ demangle, so disable it. --- targets/wasm.json | 1 + 1 file changed, 1 insertion(+) diff --git a/targets/wasm.json b/targets/wasm.json index 47c20825..447acf8c 100644 --- a/targets/wasm.json +++ b/targets/wasm.json @@ -15,6 +15,7 @@ "--no-threads", "--stack-first", "--export-all", + "--no-demangle", "{root}/lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a" ], "emulator": ["node", "targets/wasm_exec.js"]