Source file src/runtime/badlinkname.go

     1  // Copyright 2024 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package runtime
     6  
     7  import _ "unsafe"
     8  
     9  // These should be an internal details
    10  // but widely used packages access them using linkname.
    11  // Do not remove or change the type signature.
    12  // See go.dev/issue/67401.
    13  
    14  // Notable members of the hall of shame include:
    15  //   - github.com/dgraph-io/ristretto
    16  //   - github.com/outcaste-io/ristretto
    17  //   - github.com/clubpay/ronykit
    18  //go:linkname cputicks
    19  
    20  // Notable members of the hall of shame include:
    21  //   - gvisor.dev/gvisor (from assembly)
    22  //go:linkname sched
    23  

View as plain text