Skip to content

Commit

Permalink
chore: Enable v0 symbol mangling (#2985)
Browse files Browse the repository at this point in the history
rust-lang/rust#60705
Due to modification of .cargo/config.toml your `cargo build` should pick
this change up automatically. Use `legacy` instead of `v0` if you find
yourself in need of old mangling scheme for whatever reason
Release Notes:

- Improved precision of backtraces in application crashes
  • Loading branch information
osiewicz authored Sep 18, 2023
1 parent 616d328 commit 230061d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[alias]
xtask = "run --package xtask --"

[build]
# v0 mangling scheme provides more detailed backtraces around closures
rustflags = ["-C", "symbol-mangling-version=v0"]

0 comments on commit 230061d

Please sign in to comment.