Commit 40bc0a77 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

doc: mention that *_js.go files are now ignored and treated like a GOOS

Fixes #26329

Change-Id: Id87fd106e69d3d9682653eb753b1de616adeed2b
Reviewed-on: https://go-review.googlesource.com/123416Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent a07ee41a
......@@ -57,6 +57,14 @@ Do not send CLs removing the interior tags from such phrases.
<p>
Go 1.11 adds an experimental port to WebAssembly (<code>js/wasm</code>).
</p>
<p>
As a result of the addition of the new <code>GOOS</code> value
"<code>js</code>" and <code>GOARCH</code> value "<code>wasm</code>",
Go files named <code>*_js.go</code> or <code>*_wasm.go</code> will
now be <a href="/pkg/go/build/#hdr-Build_Constraints">ignored by Go
tools</a> except when those GOOS/GOARCH values are being used.
If you have existing filenames matching those patterns, you will have to rename them.
</p>
<h2 id="tools">Tools</h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment