Skip to content

Commit 230061d

Browse files
authored
chore: Enable v0 symbol mangling (#2985)
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
1 parent 616d328 commit 230061d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
[alias]
22
xtask = "run --package xtask --"
3+
4+
[build]
5+
# v0 mangling scheme provides more detailed backtraces around closures
6+
rustflags = ["-C", "symbol-mangling-version=v0"]

0 commit comments

Comments
 (0)