aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2021-07-14 16:04:49 -0700
committerIan Lance Taylor <iant@golang.org>2021-07-15 00:09:22 +0000
commit21a04e33353316635b5f3351e807916f3bb1e844 (patch)
tree65fd4e1da68f05a310ff230ab2d90bdce6da6df7 /doc
parent2b00a54baf2b677b2aaddd93c25b11ea4642a86f (diff)
downloadgo-21a04e33353316635b5f3351e807916f3bb1e844.tar.gz
go-21a04e33353316635b5f3351e807916f3bb1e844.zip
doc/go1.17: mention GOARCH=loong64
For #46229 Change-Id: I54d01d90f2b0c892d76121f1350c0e8cf4b2772f Reviewed-on: https://go-review.googlesource.com/c/go/+/334729 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.17.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/go1.17.html b/doc/go1.17.html
index fa8f14de99..b31006fe65 100644
--- a/doc/go1.17.html
+++ b/doc/go1.17.html
@@ -119,6 +119,17 @@ Do not send CLs removing the interior tags from such phrases.
stack frame pointers only on Linux, macOS, and iOS.
</p>
+<h3 id="loong64">loong64 GOARCH value reserved</h3>
+
+<p><!-- CL 333909 -->
+ The main Go compiler does not yet support the LoongArch
+ architecture, but we've reserved the <code>GOARCH</code> value
+ "<code>loong64</code>".
+ This means that Go files named <code>*_loong64.go</code> will now
+ be <a href="/pkg/go/build/#hdr-Build_Constraints">ignored by Go
+ tools</a> except when that GOARCH value is being used.
+</p>
+
<h2 id="tools">Tools</h2>
<h3 id="go-command">Go command</h3>