]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.17: mention GOARCH=loong64
authorIan Lance Taylor <iant@golang.org>
Wed, 14 Jul 2021 23:04:49 +0000 (16:04 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 15 Jul 2021 00:09:22 +0000 (00:09 +0000)
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>
doc/go1.17.html

index fa8f14de99d553f1b6f57729176fd451dabf69bb..b31006fe65617b5c8693478d4d43bff12ae2514a 100644 (file)
@@ -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>