Skip to content

Commit

Permalink
fix: add go:noescape for noescape declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Mar 17, 2022
1 parent 232c247 commit fabd6f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime.go
Expand Up @@ -15,5 +15,6 @@ type strType struct {
Len uintptr
}

//go:noescape
//go:linkname noescape runtime.noescape
func noescape(unsafe.Pointer) unsafe.Pointer

0 comments on commit fabd6f1

Please sign in to comment.