diff options
author | Takeshi Yoneda <[email protected]> | 2020-10-04 02:52:01 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-03 19:52:01 +0200 |
commit | 9a015f4f6441fd68eabe35b3dc9748a5467d5934 (patch) | |
tree | a4c8137fca8de2a9f11f533c4e4f24b3c497f885 /main_test.go | |
parent | 9ad231507972475e09cbf336295e0acb765953e8 (diff) | |
download | tinygo-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.go | 6 |
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") |