aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.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.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.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 993463cb7..30e8ee6bc 100644
--- a/main.go
+++ b/main.go
@@ -828,7 +828,7 @@ func main() {
programmer := flag.String("programmer", "", "which hardware programmer to use")
cFlags := flag.String("cflags", "", "additional cflags for compiler")
ldFlags := flag.String("ldflags", "", "additional ldflags for linker")
- wasmAbi := flag.String("wasm-abi", "js", "WebAssembly ABI conventions: js (no i64 params) or generic")
+ wasmAbi := flag.String("wasm-abi", "", "WebAssembly ABI conventions: js (no i64 params) or generic")
heapSize := flag.String("heap-size", "1M", "default heap size in bytes (only supported by WebAssembly)")
var flagJSON, flagDeps *bool