cgo : stacktrace_symbol not work after go 1.21 #307
gosunuts
started this conversation in
Show and tell
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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_dummyBeta Was this translation helpful? Give feedback.
All reactions