aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mgcstack.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/mgcstack.go')
-rw-r--r--src/runtime/mgcstack.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/mgcstack.go b/src/runtime/mgcstack.go
index 92d58485f6..49dc54e165 100644
--- a/src/runtime/mgcstack.go
+++ b/src/runtime/mgcstack.go
@@ -95,7 +95,7 @@
package runtime
import (
- "runtime/internal/sys"
+ "internal/goarch"
"unsafe"
)
@@ -107,7 +107,7 @@ const stackTraceDebug = false
//go:notinheap
type stackWorkBuf struct {
stackWorkBufHdr
- obj [(_WorkbufSize - unsafe.Sizeof(stackWorkBufHdr{})) / sys.PtrSize]uintptr
+ obj [(_WorkbufSize - unsafe.Sizeof(stackWorkBufHdr{})) / goarch.PtrSize]uintptr
}
// Header declaration must come after the buf declaration above, because of issue #14620.