about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-12-14 14:37:51 -0800
committerAlex Crichton <alex@alexcrichton.com>2018-12-14 15:15:53 -0800
commitfcc8bb41e969c99689cf5ffb48d1cd11c759a498 (patch)
treeba8068b296bdbb6812be53feba77d8a3d28e3b94 /src/libstd/lib.rs
parent1897657ef09eea3d0b0afbbbd154a12fbb8fbf3f (diff)
downloadrust-fcc8bb41e969c99689cf5ffb48d1cd11c759a498.tar.gz
rust-fcc8bb41e969c99689cf5ffb48d1cd11c759a498.zip
std: Use `rustc_demangle` from crates.io
No more need to duplicate the demangling routine between crates.io and
the standard library, we can use the exact same one!
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 0febbe5694b..ead38f21126 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -339,6 +339,7 @@ pub use core::{unreachable, unimplemented, write, writeln, try};
 extern crate alloc as alloc_crate;
 #[doc(masked)]
 extern crate libc;
+extern crate rustc_demangle;
 
 // We always need an unwinder currently for backtraces
 #[doc(masked)]