Skip to content

Commit 3c6003c

Browse files
Revert "std: Fix compilation without backtrace feature"
This reverts commit 028f8d7.
1 parent 7442406 commit 3c6003c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libstd/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ hashbrown = { version = "0.6.2", default-features = false, features = ['rustc-de
2727

2828
# Dependencies of the `backtrace` crate
2929
addr2line = { version = "0.13.0", optional = true, default-features = false }
30-
rustc-demangle = { version = "0.1.4", features = ['rustc-dep-of-std'] }
30+
rustc-demangle = { version = "0.1.4", optional = true }
3131
miniz_oxide = { version = "0.4.0", optional = true, default-features = false }
3232
[dependencies.object]
3333
version = "0.20"
@@ -55,6 +55,7 @@ backtrace = [
5555
"gimli-symbolize",
5656
'addr2line/rustc-dep-of-std',
5757
'object/rustc-dep-of-std',
58+
'rustc-demangle/rustc-dep-of-std',
5859
'miniz_oxide/rustc-dep-of-std',
5960
]
6061
gimli-symbolize = []

0 commit comments

Comments
 (0)