diff options
author | Randy Reddig <[email protected]> | 2024-10-05 02:36:47 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-04 17:36:47 -0700 |
commit | 453a1d35c315cb4b2519c86e4d53a7699bbcdea2 (patch) | |
tree | 0d8c7e1f0f7e6466eea25e661d101c64e1aacdc3 /targets | |
parent | 9da8b5c786880e47f6f96b82be7c410af6f9011b (diff) | |
download | tinygo-453a1d35c315cb4b2519c86e4d53a7699bbcdea2.tar.gz tinygo-453a1d35c315cb4b2519c86e4d53a7699bbcdea2.zip |
compiler, runtime: enable go:wasmexport for wasip2 (#4499)
* compiler: prefer go:wasmexport over go:export
* runtime, targets/wasip2: enable -buildmode=c-shared for wasip2
* runtime: rename import from wasi_run to wasiclirun (PR feedback)
Diffstat (limited to 'targets')
-rw-r--r-- | targets/wasip2.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/targets/wasip2.json b/targets/wasip2.json index b32a68197..4b0e67591 100644 --- a/targets/wasip2.json +++ b/targets/wasip2.json @@ -3,6 +3,7 @@ "cpu": "generic", "features": "+bulk-memory,+mutable-globals,+nontrapping-fptoint,+sign-ext", "build-tags": ["tinygo.wasm", "wasip2"], + "buildmode": "c-shared", "goos": "linux", "goarch": "arm", "linker": "wasm-ld", |