fix: symbol not found when building in baremental environment
This commit is contained in:
11
runtime/internal/lib/runtime/maxprocs_default.go
Normal file
11
runtime/internal/lib/runtime/maxprocs_default.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//go:build !baremental
|
||||
|
||||
package runtime
|
||||
|
||||
const (
|
||||
LLGoPackage = "link"
|
||||
LLGoFiles = "_wrap/runtime.c"
|
||||
)
|
||||
|
||||
//go:linkname c_maxprocs C.llgo_maxprocs
|
||||
func c_maxprocs() int32
|
||||
Reference in New Issue
Block a user