mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 07:53: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:
+1
-5
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user