make runtime compatible with wasm

This commit is contained in:
Li Jie
2025-04-08 16:50:47 +08:00
parent 7c81d9293b
commit be4737461a
183 changed files with 14122 additions and 647 deletions

View File

@@ -1,9 +1,7 @@
//go:build !wasm
package debug
/*
#cgo linux LDFLAGS: -lunwind
*/
import "C"
import (
"unsafe"
@@ -11,8 +9,7 @@ import (
)
const (
LLGoPackage = "link"
LLGoFiles = "_wrap/debug.c"
LLGoFiles = "_wrap/debug.c"
)
type Info struct {