diff --git a/targets/wasm.json b/targets/wasm.json index 82fb6ced..e8cdb5e1 100644 --- a/targets/wasm.json +++ b/targets/wasm.json @@ -14,6 +14,7 @@ "ldflags": [ "--allow-undefined", "--no-threads", + "--stack-first", "--export-all" ], "emulator": ["node", "targets/wasm_exec.js"]