]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc: add release note for go:wasmimport
authorEli Bendersky <eliben@golang.org>
Thu, 1 Jun 2023 12:57:58 +0000 (05:57 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 1 Jun 2023 15:56:20 +0000 (15:56 +0000)
Change-Id: I9c6fc4c7e24d0e78086d95dccd61e80bd5ddd856
Reviewed-on: https://go-review.googlesource.com/c/go/+/499815
Auto-Submit: Eli Bendersky‎ <eliben@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
TryBot-Bypass: Eli Bendersky‎ <eliben@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
doc/go1.21.html

index 78977a173dd1a804966c816cc0a9d05d4fe31fa7..29feac2b715461c1515b5702c8d4e0001ac448d7 100644 (file)
@@ -144,21 +144,11 @@ Do not send CLs removing the interior tags from such phrases.
   <!-- cmd/dist: default to GOARM=7 on all non-arm systems -->
 </p>
 
-<!-- https://go.dev/issue/38248 -->
-<p>
-  <!-- replace CallImport with go:wasmimport directive -->
-</p>
-
 <h3 id="wasm">WebAssembly</h3>
 
-<!-- https://go.dev/issue/59149 -->
-<p>
-  <!-- allow the use of go:wasmimport globally -->
-</p>
-
-<!-- CL 489255 -->
-<p>
-  <!-- cmd/compile: remove go:wasmimport restriction -->
+<p><!-- https://go.dev/issue/38248, https://go.dev/issue/59149, CL 489255 -->
+  The new <code>go:wasmimport</code> directive can now be used in Go programs
+  to import functions from the WebAssembly host.
 </p>
 
 <!-- https://go.dev/issue/56100 -->