diff options
author | Cherry Mui <cherryyz@google.com> | 2023-05-16 17:26:53 -0400 |
---|---|---|
committer | Cherry Mui <cherryyz@google.com> | 2023-05-17 17:04:07 +0000 |
commit | 16a0b7fddb63d407b735e23dd7866b3d071e14d5 (patch) | |
tree | 84de9cecbfa75ae6faed6d58af80c347093fef3d | |
parent | 6a675b9a7c73e01469b31bb1b1606b08463efeb9 (diff) | |
download | go-git-16a0b7fddb63d407b735e23dd7866b3d071e14d5.tar.gz |
doc/go1.21: document wasip1 port
Updates #58141.
Change-Id: Iad11e7880efb37e9a1e17daf48d36b886725f75d
Reviewed-on: https://go-review.googlesource.com/c/go/+/495476
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
-rw-r--r-- | doc/go1.21.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/go1.21.html b/doc/go1.21.html index e483e1e556..421a509fea 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -31,8 +31,21 @@ Do not send CLs removing the interior tags from such phrases. <h2 id="ports">Ports</h2> +<h3 id="wasip1">WebAssembly System Interface</h3> + +<p><!-- https://go.dev/issue/58141 --> + Go 1.21 adds an experimental port to the <a href="https://wasi.dev/"> + WebAssembly System Interface (WASI)</a>, Preview 1 + (<code>GOOS=wasip1</code>, <code>GOARCH=wasm</code>). +</p> + <p> - TODO: complete this section, or delete if not needed + As a result of the addition of the new <code>GOOS</code> value + "<code>wasip1</code>", Go files named <code>*_wasip1.go</code> + will now be <a href="/pkg/go/build/#hdr-Build_Constraints">ignored + by Go tools</a> except when that GOOS value is being used. If you + have existing filenames matching that pattern, you will need to + rename them. </p> <h2 id="tools">Tools</h2> |