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
+1 -5
View File
@@ -165,11 +165,7 @@ func runTest(path, target string, t *testing.T) {
VerifyIR: true,
Debug: true,
PrintSizes: "",
WasmAbi: "js",
}
if target == "wasi" {
config.WasmAbi = "generic"
WasmAbi: "",
}
binary := filepath.Join(tmpdir, "test")