about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-07-21 21:41:45 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2020-07-22 07:16:45 -0400
commit3c6003c4c0505381544c03b9b9f0f697c002dd67 (patch)
treef2ad8c253a2ab86a859ae284e4eb5fb3aea0c7f9 /src/libstd
parent744240678371b631b10d564201821f10d3baa72c (diff)
downloadrust-3c6003c4c0505381544c03b9b9f0f697c002dd67.tar.gz
rust-3c6003c4c0505381544c03b9b9f0f697c002dd67.zip
Revert "std: Fix compilation without backtrace feature"
This reverts commit 028f8d7b85898683b99e05564cd2976c7e0d5b43.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/Cargo.toml b/src/libstd/Cargo.toml
index 42403bdb1bc..136db6d5d32 100644
--- a/src/libstd/Cargo.toml
+++ b/src/libstd/Cargo.toml
@@ -27,7 +27,7 @@ hashbrown = { version = "0.6.2", default-features = false, features = ['rustc-de
 
 # Dependencies of the `backtrace` crate
 addr2line = { version = "0.13.0", optional = true, default-features = false }
-rustc-demangle = { version = "0.1.4", features = ['rustc-dep-of-std'] }
+rustc-demangle = { version = "0.1.4", optional = true }
 miniz_oxide = { version = "0.4.0", optional = true, default-features = false }
 [dependencies.object]
 version = "0.20"
@@ -55,6 +55,7 @@ backtrace = [
   "gimli-symbolize",
   'addr2line/rustc-dep-of-std',
   'object/rustc-dep-of-std',
+  'rustc-demangle/rustc-dep-of-std',
   'miniz_oxide/rustc-dep-of-std',
 ]
 gimli-symbolize = []