runtime: show stacktrace when panic

This commit is contained in:
Li Jie
2025-01-02 21:45:11 +08:00
parent 5131881bf2
commit 65f855b251
4 changed files with 56 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
package debug
/*
#cgo linux LDFLAGS: -lunwind
*/
import "C"
import (
"unsafe"