@@ -117,6 +117,17 @@ <h3 id="wasm">WebAssembly</h3>
117
117
If you have existing filenames matching those patterns, you will need to rename them.
118
118
</ p >
119
119
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
+
120
131
< h2 id ="tools "> Tools</ h2 >
121
132
122
133
< 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>
431
442
432
443
</ dl > <!-- encoding/csv -->
433
444
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
-
442
445
< dl id ="go/scanner "> < dt > < a href ="/pkg/go/scanner/ "> go/scanner</ a > </ dt >
443
446
< dd >
444
447
< p > <!-- CL 100235 -->
@@ -680,7 +683,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
680
683
< dd >
681
684
< p > <!-- CL 87095 -->
682
685
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 > .
684
687
Writer/writer contention was already included in the mutex
685
688
profile.
686
689
</ p >
@@ -701,7 +704,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
701
704
</ p >
702
705
703
706
< 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.
705
711
</ p >
706
712
707
713
</ dl > <!-- syscall -->
0 commit comments