aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets
diff options
context:
space:
mode:
authorRandy Reddig <[email protected]>2024-10-05 02:36:47 +0200
committerGitHub <[email protected]>2024-10-04 17:36:47 -0700
commit453a1d35c315cb4b2519c86e4d53a7699bbcdea2 (patch)
tree0d8c7e1f0f7e6466eea25e661d101c64e1aacdc3 /targets
parent9da8b5c786880e47f6f96b82be7c410af6f9011b (diff)
downloadtinygo-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.json1
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",