diff options
| author | Austin Clements <austin@google.com> | 2024-12-27 10:20:36 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2024-12-27 08:33:14 -0800 |
| commit | 1b0aaf907056d107c22639d8be50eb3782a45a45 (patch) | |
| tree | 00bce056b304fb057d59f5424785a9e8cfb11187 | |
| parent | ac6acde8d13254fd77668062839320ba7d77659e (diff) | |
| download | go-x-website-1b0aaf907056d107c22639d8be50eb3782a45a45.tar.xz | |
_content/doc/go1.24: link to wasmimport/export type docs
Currently, the release notes link to the proposal, but it's better to
link to the docs in the tree.
Change-Id: I1afcf59c7a24f4af9688891f8462d80fb4484f24
Reviewed-on: https://go-review.googlesource.com/c/website/+/638955
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
| -rw-r--r-- | _content/doc/go1.24.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/doc/go1.24.md b/_content/doc/go1.24.md index 68dbbb3c..9df35e5e 100644 --- a/_content/doc/go1.24.md +++ b/_content/doc/go1.24.md @@ -791,7 +791,7 @@ by specifying the `-buildmode=c-shared` build flag. <!-- go.dev/issue/66984, CL 626615 --> More types are now permitted as argument or result types for `go:wasmimport` functions. Specifically, `bool`, `string`, `uintptr`, and pointers to certain types are allowed -(see the [proposal](/issue/66984) for detail), +(see the [documentation](/pkg/cmd/compile#hdr-WebAssembly_Directives) for detail), along with 32-bit and 64-bit integer and float types, and `unsafe.Pointer`, which are already allowed. These types are also permitted as argument or result types for `go:wasmexport` functions. |
