Skip to content

Commit

Permalink
Enable unwind table in rust (MystenLabs#6131)
Browse files Browse the repository at this point in the history
This is needed since Sui has panic = 'abort'. It should be another piece that helps us to get more complete stack trace in profiles. More background at rust-lang/rust#94815
  • Loading branch information
mwtian authored Nov 15, 2022
1 parent 01fbbdd commit 05ba6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ xclippy = [
xlint = "run --package x --bin x -- lint"

[build]
rustflags = ["-C", "force-frame-pointers=yes"]
rustflags = ["-C", "force-frame-pointers=yes", "-C", "force-unwind-tables=yes"]

0 comments on commit 05ba6c9

Please sign in to comment.