machine: make gosched available to machine package

This commit is contained in:
Kenneth Bell
2023-03-25 10:36:44 +00:00
committed by Ron Evans
parent 19e4db45db
commit 4bf7308d26
2 changed files with 13 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
package machine
import (
_ "unsafe"
)
//
// This file provides access to runtime package that would not otherwise
// be permitted due to linker dependencies.
//
//go:linkname gosched runtime.Gosched
func gosched()