Initial commit: Go 1.23 release state
This commit is contained in:
34
src/runtime/linkname.go
Normal file
34
src/runtime/linkname.go
Normal file
@@ -0,0 +1,34 @@
|
||||
// Copyright 2024 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package runtime
|
||||
|
||||
import _ "unsafe"
|
||||
|
||||
// used in internal/godebug and syscall
|
||||
//go:linkname write
|
||||
|
||||
// used by cgo
|
||||
//go:linkname _cgo_panic_internal
|
||||
//go:linkname cgoAlwaysFalse
|
||||
//go:linkname cgoUse
|
||||
//go:linkname cgoCheckPointer
|
||||
//go:linkname cgoCheckResult
|
||||
//go:linkname cgoNoCallback
|
||||
//go:linkname gobytes
|
||||
//go:linkname gostringn
|
||||
|
||||
// used in plugin
|
||||
//go:linkname doInit
|
||||
|
||||
// used in math/bits
|
||||
//go:linkname overflowError
|
||||
//go:linkname divideError
|
||||
|
||||
// used in tests
|
||||
//go:linkname extraMInUse
|
||||
//go:linkname blockevent
|
||||
//go:linkname haveHighResSleep
|
||||
//go:linkname blockUntilEmptyFinalizerQueue
|
||||
//go:linkname lockedOSThread
|
||||
Reference in New Issue
Block a user