]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/base, cmd/internal/bio: use syscall.Mmap on aix
authorTobias Klauser <tklauser@distanz.ch>
Mon, 14 Nov 2022 09:00:57 +0000 (10:00 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 18 Nov 2022 14:08:47 +0000 (14:08 +0000)
Change-Id: Ic28612952eb9abf14425f0bb14043b10f6050d94
Reviewed-on: https://go-review.googlesource.com/c/go/+/450195
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/base/mapfile_mmap.go
src/cmd/compile/internal/base/mapfile_read.go
src/cmd/internal/bio/buf_mmap.go
src/cmd/internal/bio/buf_nommap.go

index 62620443f55c3f4f24232de2d9df834575f51fca..bbcfda244f8fcca8da12f80a79b0d5f3973ff21d 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || (solaris && go1.20)
+//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || (solaris && go1.20)
 
 package base
 
index 5ac6272dc15226ab21b371ec0316d4cb297347e7..c1b84db96f00fb70ba1accde94419e6e8fdc1cfe 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !(solaris && go1.20)
+//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !(solaris && go1.20)
 
 package base
 
index e428952bc9f09f83bb8458e44167368200bc8c0d..d089efa45ea2b5ff273a1644b7d508acb1ba1939 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || (solaris && go1.20)
+//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || (solaris && go1.20)
 
 package bio
 
index e9048609831a2e0d5a5eb828353ddbd75784420e..5ebe906beb43f6efe7f80f4b863877df119582db 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !(solaris && go1.20)
+//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !(solaris && go1.20)
 
 package bio