1
0
mirror of https://github.com/golang/go synced 2024-11-25 14:47:57 -07:00
go/misc/wasm
Cherry Mui f38d42f2c4 cmd/link: support wasmexport on js/wasm
Add export functions to the wasm module on GOOS=js. (Other parts
work the same way as wasip1.)

Add a test.

Fixes #65199.

Change-Id: Ia22580859fe40631d487f70ee293c12867e0c988
Reviewed-on: https://go-review.googlesource.com/c/go/+/606855
Reviewed-by: Zxilly Chou <zxilly@outlook.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2024-08-21 01:11:27 +00:00
..
go_js_wasm_exec misc: increase node stack size 2023-02-02 15:35:28 +00:00
go_wasip1_wasm_exec misc/wasm: drop wasmtime < 14 support 2024-04-11 17:09:10 +00:00
wasm_exec_node.js syscall,misc/wasm: fix path expansion on non-unix platforms 2024-08-09 21:22:25 +00:00
wasm_exec.html misc/wasm: add mention of polyfill for Edge support 2018-10-02 17:25:11 +00:00
wasm_exec.js cmd/link: support wasmexport on js/wasm 2024-08-21 01:11:27 +00:00