Skip to content

Commit 3522cd8

Browse files
committed
doc: fix a link in go1.11.html and flesh out a few sections
Change-Id: Ic5b9ccb2772534cee77ffcaeee617c7d5edfb6fd Reviewed-on: https://go-review.googlesource.com/124715 Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 311ec41 commit 3522cd8

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

doc/go1.11.html

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,17 @@ <h3 id="wasm">WebAssembly</h3>
117117
If you have existing filenames matching those patterns, you will need to rename them.
118118
</p>
119119

120+
<h3 id="riscv">RISC-V GOARCH values reserved</h3>
121+
<p><!-- CL 106256 -->
122+
The main Go compiler does not yet support the RISC-V architecture
123+
but we've reserved the <code>GOARCH</code> values
124+
"<code>riscv</code>" and "<code>riscv64</code>", as used by Gccgo,
125+
which does support RISC-V. This means that Go files
126+
named <code>*_riscv.go</code> will now also
127+
be <a href="/pkg/go/build/#hdr-Build_Constraints">ignored by Go
128+
tools</a> except when those GOOS/GOARCH values are being used.
129+
</p>
130+
120131
<h2 id="tools">Tools</h2>
121132

122133
<h3 id="modules">Modules, package versioning, and dependency management</h3>
@@ -431,14 +442,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
431442

432443
</dl><!-- encoding/csv -->
433444

434-
<dl id="go/build, runtime/internal/sys"><dt><a href="/pkg/go/build, runtime/internal/sys/">go/build, runtime/internal/sys</a></dt>
435-
<dd>
436-
<p><!-- CL 106256 -->
437-
TODO: <a href="https://golang.org/cl/106256">https://golang.org/cl/106256</a>: reserve RISC-V arch names
438-
</p>
439-
440-
</dl><!-- go/build, runtime/internal/sys -->
441-
442445
<dl id="go/scanner"><dt><a href="/pkg/go/scanner/">go/scanner</a></dt>
443446
<dd>
444447
<p><!-- CL 100235 -->
@@ -680,7 +683,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
680683
<dd>
681684
<p><!-- CL 87095 -->
682685
The mutex profile now includes reader/writer contention
683-
for <a href="/pkg/sync/#RWMutex"><code>RWMutex</code>.
686+
for <a href="/pkg/sync/#RWMutex"><code>RWMutex</code></a>.
684687
Writer/writer contention was already included in the mutex
685688
profile.
686689
</p>
@@ -701,7 +704,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
701704
</p>
702705

703706
<p><!-- CL 118658 -->
704-
TODO: <a href="https://golang.org/cl/118658">https://golang.org/cl/118658</a>: check Fchmodat flags parameter on Linux
707+
On Linux, the <code>flags</code> parameter to
708+
<a href="/pkg/syscall/?GOOS=linux&GOARCH=amd64#Fchmodat"><code>Fchmodat</code></a>
709+
is now validated. Linux's <code>fchmodat</code> doesn't support the <code>flags</code> parameter
710+
so we now mimic glibc's behavior and return an error if it's non-zero.
705711
</p>
706712

707713
</dl><!-- syscall -->

0 commit comments

Comments
 (0)