about summary refs log tree commit diff
path: root/src/librustc_data_structures/lib.rs
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo.net>2016-08-12 18:22:02 -0400
committerMichael Woerister <michaelwoerister@posteo.net>2016-08-29 14:27:40 -0400
commit6ef8198406af9ba18787e0fd50ae2e25f78b7e4f (patch)
treedb36496bd2ae735b403376f2e0f3642984e69318 /src/librustc_data_structures/lib.rs
parent86dde9bbda92c02c61282b5df5d38338a798ef3b (diff)
downloadrust-6ef8198406af9ba18787e0fd50ae2e25f78b7e4f.tar.gz
rust-6ef8198406af9ba18787e0fd50ae2e25f78b7e4f.zip
Move `flock.rs` from librustdoc to librustc_data_structures.
Diffstat (limited to 'src/librustc_data_structures/lib.rs')
-rw-r--r--src/librustc_data_structures/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustc_data_structures/lib.rs b/src/librustc_data_structures/lib.rs
index 34c3961d5b4..4391123559f 100644
--- a/src/librustc_data_structures/lib.rs
+++ b/src/librustc_data_structures/lib.rs
@@ -30,6 +30,7 @@
 #![feature(staged_api)]
 #![feature(unboxed_closures)]
 #![feature(fn_traits)]
+#![feature(libc)]
 
 #![cfg_attr(test, feature(test))]
 
@@ -37,6 +38,8 @@ extern crate core;
 #[macro_use]
 extern crate log;
 extern crate serialize as rustc_serialize; // used by deriving
+#[cfg(unix)]
+extern crate libc;
 
 pub mod bitvec;
 pub mod graph;
@@ -51,6 +54,7 @@ pub mod fnv;
 pub mod tuple_slice;
 pub mod veccell;
 pub mod control_flow_graph;
+pub mod flock;
 
 // See comments in src/librustc/lib.rs
 #[doc(hidden)]