Skip to content

Commit 78ed7b8

Browse files
committed
core/overreach: override gotraceback to all
1 parent 7a8ac6a commit 78ed7b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

intra/core/overreach.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ func RuntimeEnviron() []string {
2929
// about GOTRACEBACK, but for goos.IsAndroid (and for apps with uid > 10000),
3030
// using AT_SECURE to determine "setuid-like" protections appears pointless.
3131
func init() {
32-
// override runtime.secureMode
3332
// to make GOTRACEBACK work as expected on Android
3433
debug.SetTraceback("all")
34+
syscall.Setenv("GOTRACEBACK", "all")
3535
secureMode = false
3636
}
3737

0 commit comments

Comments
 (0)