summary refs log tree commit diff
path: root/src/librustc_data_structures
diff options
context:
space:
mode:
authorIrina Popa <irinagpopa@gmail.com>2018-04-25 19:30:39 +0300
committerIrina Popa <irinagpopa@gmail.com>2018-04-26 17:49:16 +0300
commit04fa0e7bb3e462080be4a6cee45fd94b1c27d287 (patch)
tree13f3f018ba821be9c9375d5d06b3314e7994d7a1 /src/librustc_data_structures
parent030244cd4a76914af7dc2939ed1a16f394ceda48 (diff)
downloadrust-04fa0e7bb3e462080be4a6cee45fd94b1c27d287.tar.gz
rust-04fa0e7bb3e462080be4a6cee45fd94b1c27d287.zip
rustc_target: move in syntax::abi and flip dependency.
Diffstat (limited to 'src/librustc_data_structures')
-rw-r--r--src/librustc_data_structures/Cargo.toml1
-rw-r--r--src/librustc_data_structures/lib.rs4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/librustc_data_structures/Cargo.toml b/src/librustc_data_structures/Cargo.toml
index e1f0a74fc68..9178d0d00fa 100644
--- a/src/librustc_data_structures/Cargo.toml
+++ b/src/librustc_data_structures/Cargo.toml
@@ -11,6 +11,7 @@ crate-type = ["dylib"]
 [dependencies]
 ena = "0.9.1"
 log = "0.4"
+rustc_cratesio_shim = { path = "../librustc_cratesio_shim" }
 serialize = { path = "../libserialize" }
 cfg-if = "0.1.2"
 stable_deref_trait = "1.0.0"
diff --git a/src/librustc_data_structures/lib.rs b/src/librustc_data_structures/lib.rs
index ba1d73dc268..1320fe75bc5 100644
--- a/src/librustc_data_structures/lib.rs
+++ b/src/librustc_data_structures/lib.rs
@@ -45,6 +45,10 @@ extern crate parking_lot;
 extern crate cfg_if;
 extern crate stable_deref_trait;
 
+// See librustc_cratesio_shim/Cargo.toml for a comment explaining this.
+#[allow(unused_extern_crates)]
+extern crate rustc_cratesio_shim;
+
 pub use rustc_serialize::hex::ToHex;
 
 pub mod array_vec;