mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
592c2db868
commit
5c45fe1385
33 changed files with 70 additions and 71 deletions
|
|
@ -31,7 +31,7 @@ package coverage
|
|||
// slot: 6 path='internal/runtime/math' hard-coded id: 6
|
||||
// slot: 7 path='internal/bytealg' hard-coded id: 7
|
||||
// slot: 8 path='internal/goexperiment'
|
||||
// slot: 9 path='internal/runtime/syscall' hard-coded id: 8
|
||||
// slot: 9 path='internal/runtime/syscall/linux' hard-coded id: 8
|
||||
// slot: 10 path='runtime' hard-coded id: 9
|
||||
// fatal error: runtime.addCovMeta
|
||||
//
|
||||
|
|
@ -66,7 +66,7 @@ var rtPkgs = [...]string{
|
|||
"internal/runtime/strconv",
|
||||
"internal/runtime/sys",
|
||||
"internal/runtime/maps",
|
||||
"internal/runtime/syscall",
|
||||
"internal/runtime/syscall/linux",
|
||||
"internal/runtime/cgroup",
|
||||
"internal/stringslite",
|
||||
"runtime",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue