Skip to content

Commit 440b701

Browse files
committed
Bump cpp_demangle to 0.5.1
1 parent 52c0891 commit 440b701

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samply-symbols/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ version = "0.37"
3535
pdb-addr2line = "0.11.0"
3636
uuid = "1"
3737
thiserror = "2"
38-
cpp_demangle = "0.4.0"
38+
cpp_demangle = "0.5.1"
3939
msvc-demangler = "0.11"
4040
rustc-demangle = "0.1.24"
4141
scala-native-demangle = "0.0.6"

samply-symbols/src/demangle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub fn demangle_any(name: &str) -> String {
2929
if name.starts_with('_') {
3030
let options = cpp_demangle::DemangleOptions::default().no_return_type();
3131
if let Ok(symbol) = cpp_demangle::Symbol::new(name) {
32-
if let Ok(demangled_string) = symbol.demangle(&options) {
32+
if let Ok(demangled_string) = symbol.demangle_with_options(&options) {
3333
return demangled_string;
3434
}
3535
}

0 commit comments

Comments
 (0)