build: patch packages supports cgo

This commit is contained in:
Li Jie
2025-01-10 18:17:40 +08:00
parent 623b5a511a
commit b07116f302
2 changed files with 10 additions and 1 deletions

View File

@@ -16,11 +16,13 @@
package runtime
// llgo:skipall
import (
_ "unsafe"
)
// llgo:skipall
type _runtime struct{}
// GOROOT returns the root of the Go tree. It uses the
// GOROOT environment variable, if set at process start,
// or else the root used during the Go build.