cgo : stacktrace_symbol not work after go 1.21 #307
rabbitprincess
started this conversation in
Show and tell
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
after go 1.21 version, function name is always empty when printed by stacktrace_symbol
How to Fix
add rdynamic flags when run.
go test -ldflags="-extldflags=-rdynamic" -run TestGasHello /go/aergo/contract/vm_dummy
Beta Was this translation helpful? Give feedback.
All reactions