diff options
| author | qmuntal <quimmuntal@gmail.com> | 2025-07-21 10:39:28 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2025-07-24 13:30:14 -0700 |
| commit | 5c45fe1385ff30b1a138dd3dae7fc670f85dfcc9 (patch) | |
| tree | 8f988c5af1a6e3e7f25eeb8eb35252150a7f2f76 /src/cmd/internal/objabi | |
| parent | 592c2db868c7465ae06a447a861c313ba071f3e6 (diff) | |
| download | go-5c45fe1385ff30b1a138dd3dae7fc670f85dfcc9.tar.xz | |
internal/runtime/syscall: rename to internal/runtime/syscall/linux
All code in internal/runtime/syscall is Linux-specific, so better
move it to a new linux sub-directory. This way it will be easier
to factor out runtime syscall code from other platforms, e.g.
Windows.
Updates #51087.
Change-Id: Idd2a52444b33bf3ad576b47fd232e990cdc8ae75
Reviewed-on: https://go-review.googlesource.com/c/go/+/689155
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd/internal/objabi')
| -rw-r--r-- | src/cmd/internal/objabi/pkgspecial.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/objabi/pkgspecial.go b/src/cmd/internal/objabi/pkgspecial.go index e09aeadbc2..522337f583 100644 --- a/src/cmd/internal/objabi/pkgspecial.go +++ b/src/cmd/internal/objabi/pkgspecial.go @@ -56,7 +56,7 @@ var runtimePkgs = []string{ "internal/runtime/math", "internal/runtime/strconv", "internal/runtime/sys", - "internal/runtime/syscall", + "internal/runtime/syscall/linux", "internal/abi", "internal/bytealg", @@ -94,7 +94,7 @@ var allowAsmABIPkgs = []string{ "syscall", "internal/bytealg", "internal/chacha8rand", - "internal/runtime/syscall", + "internal/runtime/syscall/linux", "internal/runtime/startlinetest", } |
