From: Brad Fitzpatrick
+ The main Go compiler does not yet support the RISC-V architecture
+ but we've reserved the GOARCH
values
+ "riscv
" and "riscv64
", as used by Gccgo,
+ which does support RISC-V. This means that Go files
+ named *_riscv.go
will now also
+ be ignored by Go
+ tools except when those GOOS/GOARCH values are being used.
+
- TODO: https://golang.org/cl/106256: reserve RISC-V arch names -
- -@@ -680,7 +683,7 @@ func f(v interface{}) {
The mutex profile now includes reader/writer contention
- for RWMutex
.
+ for RWMutex
.
Writer/writer contention was already included in the mutex
profile.
- TODO: https://golang.org/cl/118658: check Fchmodat flags parameter on Linux
+ On Linux, the flags
parameter to
+ Fchmodat
+ is now validated. Linux's fchmodat
doesn't support the flags
parameter
+ so we now mimic glibc's behavior and return an error if it's non-zero.