]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/osinfo: stop importing golang.org/x/sys/unix
authorIan Lance Taylor <iant@golang.org>
Wed, 30 Oct 2024 00:46:40 +0000 (17:46 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 30 Oct 2024 18:19:19 +0000 (18:19 +0000)
commit555ef554602a7d09ec302df7f2e3397815a804ee
treefc97c4c138490853108b16f8a26803d458e4d2f3
parent060bd25310ff38b92dd57bc66c2f026a0b7ee765
cmd/internal/osinfo: stop importing golang.org/x/sys/unix

This is the only non-vendored file that imports x/sys/unix.
Switch to fetching the information in this package.

Change-Id: I4e54c2cd8b4953066e2bee42922f35c387fb43e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/623435
Auto-Submit: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/internal/osinfo/os_solaris.go [new file with mode: 0644]
src/cmd/internal/osinfo/os_syscall.go [new file with mode: 0644]
src/cmd/internal/osinfo/os_sysctl.go [new file with mode: 0644]
src/cmd/internal/osinfo/os_uname.go [new file with mode: 0644]
src/cmd/internal/osinfo/os_unix.go [deleted file]
src/cmd/internal/osinfo/version_unix_test.go [new file with mode: 0644]