Skip to content

Commit 1799063

Browse files
committed
move bit_set into rustc_index
1 parent 1cff2e6 commit 1799063

File tree

6 files changed

+4
-2
lines changed

6 files changed

+4
-2
lines changed

Cargo.lock

+1
Original file line numberDiff line numberDiff line change
@@ -3469,6 +3469,7 @@ name = "rustc_index"
34693469
version = "0.0.0"
34703470
dependencies = [
34713471
"serialize",
3472+
"smallvec",
34723473
]
34733474

34743475
[[package]]

src/librustc_data_structures/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ extern crate libc;
3737
extern crate cfg_if;
3838

3939
pub use rustc_serialize::hex::ToHex;
40-
pub use rustc_index::{indexed_vec, newtype_index};
40+
pub use rustc_index::{bit_set, indexed_vec, newtype_index};
4141

4242
#[inline(never)]
4343
#[cold]
@@ -69,7 +69,6 @@ pub mod macros;
6969
pub mod svh;
7070
pub mod base_n;
7171
pub mod binary_search_util;
72-
pub mod bit_set;
7372
pub mod box_region;
7473
pub mod const_cstr;
7574
pub mod flock;

src/librustc_index/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ doctest = false
1111

1212
[dependencies]
1313
rustc_serialize = { path = "../libserialize", package = "serialize" }
14+
smallvec = { version = "0.6.7", features = ["union", "may_dangle"] }

src/librustc_index/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
#![feature(fn_traits)]
44

55
pub mod indexed_vec;
6+
pub mod bit_set;

0 commit comments

Comments
 (0)