diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2025-02-25 11:46:15 +0100 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-02-25 12:09:25 -0800 |
| commit | beb314c0dbcbe03b576123e99e1331348f858ecc (patch) | |
| tree | 1d0454cf045051bbdcffe8c7fa9a4104db6e08b8 /src/os/root_openat.go | |
| parent | 8cbb512c76846fd95bffffa235364ca60e3ed0c0 (diff) | |
| download | go-beb314c0dbcbe03b576123e99e1331348f858ecc.tar.xz | |
os, syscall: use unix build tag where appropriate
These newly added files may use the unix build tag instead of explitly
listing all unix-like GOOS values.
For #51572
Change-Id: I31c71d2b5533b39bbccd89bf616a99b8e33565d3
Reviewed-on: https://go-review.googlesource.com/c/go/+/651996
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/os/root_openat.go')
| -rw-r--r-- | src/os/root_openat.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/root_openat.go b/src/os/root_openat.go index cac0b1df0f..e25cba64af 100644 --- a/src/os/root_openat.go +++ b/src/os/root_openat.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 aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || windows || wasip1 +//go:build unix || windows || wasip1 package os |
