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)
This commit is contained in:
Randy Reddig
2024-10-05 02:36:47 +02:00
committed by GitHub
parent 9da8b5c786
commit 453a1d35c3
4 changed files with 20 additions and 8 deletions
+1
View File
@@ -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",