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.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.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |