aboutsummaryrefslogtreecommitdiffhomepage
path: root/main_test.go
diff options
context:
space:
mode:
authorTakeshi Yoneda <[email protected]>2020-10-04 02:52:01 +0900
committerGitHub <[email protected]>2020-10-03 19:52:01 +0200
commit9a015f4f6441fd68eabe35b3dc9748a5467d5934 (patch)
treea4c8137fca8de2a9f11f533c4e4f24b3c497f885 /main_test.go
parent9ad231507972475e09cbf336295e0acb765953e8 (diff)
downloadtinygo-9a015f4f6441fd68eabe35b3dc9748a5467d5934.tar.gz
tinygo-9a015f4f6441fd68eabe35b3dc9748a5467d5934.zip
add wasm-abi field in TargetSpec && set generic for WASI by default (#1421)
Signed-off-by: mathetake <[email protected]>
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/main_test.go b/main_test.go
index 09c3919e1..a7eca14f0 100644
--- a/main_test.go
+++ b/main_test.go
@@ -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")