make runtime compatible with wasm
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user