From bbeb1b87c2b848189c0f71c93cf4b70b32d45a4d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 5 Mar 2015 00:22:43 -0800 Subject: Update Rust code to the current Rust nightly Lots of changes! Hopefully everything is still semantically equivalent (tests still pass) --- rust/src/lib.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 rust/src/lib.rs (limited to 'rust/src/lib.rs') diff --git a/rust/src/lib.rs b/rust/src/lib.rs new file mode 100644 index 0000000..04eda85 --- /dev/null +++ b/rust/src/lib.rs @@ -0,0 +1,17 @@ +#![feature(io, fs, core, std_misc, collections)] + +extern crate libc; +extern crate pcre; +extern crate regex; +extern crate time; + +macro_rules! regex { + ($e:expr) => (::regex::Regex::new($e).unwrap()) +} + +pub mod core; +pub mod env; +pub mod printer; +pub mod reader; +pub mod readline; +pub mod types; -- cgit v1.2.3