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:
Takeshi Yoneda
2020-10-04 02:52:01 +09:00
committed by GitHub
parent 9ad2315079
commit 9a015f4f64
7 changed files with 17 additions and 9 deletions
+2 -1
View File
@@ -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
View File
@@ -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"
}