mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 23:13:40 +00:00
add wasm-abi field in TargetSpec && set generic for WASI by default (#1421)
Signed-off-by: mathetake <takeshi@tetrate.io>
This commit is contained in:
+2
-1
@@ -18,5 +18,6 @@
|
||||
"--no-demangle",
|
||||
"{root}/lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a"
|
||||
],
|
||||
"emulator": ["wasmtime"]
|
||||
"emulator": ["wasmtime"],
|
||||
"wasm-abi": "generic"
|
||||
}
|
||||
|
||||
+2
-1
@@ -17,5 +17,6 @@
|
||||
"--no-demangle",
|
||||
"{root}/lib/wasi-libc/sysroot/lib/wasm32-wasi/libc.a"
|
||||
],
|
||||
"emulator": ["node", "targets/wasm_exec.js"]
|
||||
"emulator": ["node", "targets/wasm_exec.js"],
|
||||
"wasm-abi": "js"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user