aboutsummaryrefslogtreecommitdiff
path: root/src/internal/coverage
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2025-07-21 10:39:28 +0200
committerQuim Muntal <quimmuntal@gmail.com>2025-07-24 13:30:14 -0700
commit5c45fe1385ff30b1a138dd3dae7fc670f85dfcc9 (patch)
tree8f988c5af1a6e3e7f25eeb8eb35252150a7f2f76 /src/internal/coverage
parent592c2db868c7465ae06a447a861c313ba071f3e6 (diff)
downloadgo-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/internal/coverage')
-rw-r--r--src/internal/coverage/pkid.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/coverage/pkid.go b/src/internal/coverage/pkid.go
index 30b5ad49ac..c9bcce2b6c 100644
--- a/src/internal/coverage/pkid.go
+++ b/src/internal/coverage/pkid.go
@@ -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",