diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2022-11-14 10:00:57 +0100 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-11-18 14:08:47 +0000 |
| commit | 349d398ea3d2f12b09791a1946e3d8d5baecd0c4 (patch) | |
| tree | 26747605a878322821e87a4eed34dd9df337f668 /src/cmd/internal | |
| parent | 8893da7c724cf5df859a3c4ef6f32d94f0b39a00 (diff) | |
| download | go-349d398ea3d2f12b09791a1946e3d8d5baecd0c4.tar.xz | |
cmd/compile/internal/base, cmd/internal/bio: use syscall.Mmap on aix
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>
Diffstat (limited to 'src/cmd/internal')
| -rw-r--r-- | src/cmd/internal/bio/buf_mmap.go | 2 | ||||
| -rw-r--r-- | src/cmd/internal/bio/buf_nommap.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/bio/buf_mmap.go b/src/cmd/internal/bio/buf_mmap.go index e428952bc9..d089efa45e 100644 --- a/src/cmd/internal/bio/buf_mmap.go +++ b/src/cmd/internal/bio/buf_mmap.go @@ -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 diff --git a/src/cmd/internal/bio/buf_nommap.go b/src/cmd/internal/bio/buf_nommap.go index e904860983..5ebe906beb 100644 --- a/src/cmd/internal/bio/buf_nommap.go +++ b/src/cmd/internal/bio/buf_nommap.go @@ -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 |
