diff --git a/Cargo.toml b/Cargo.toml index 921c6af..d617897 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ llvm-sys = "*" take_mut = "0.1.3" itertools = "0.5.8" getopts = "*" -linefeed = "0.2.2" +linefeed = "0.3" lazy_static = "0.2.8" maplit = "*" colored = "1.5" diff --git a/src/main.rs b/src/main.rs index c12c13f..25b5542 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +#![feature(link_args)] #![feature(advanced_slice_patterns, slice_patterns, box_patterns, box_syntax)] #![feature(plugin)] #![plugin(rocket_codegen)] @@ -34,6 +35,9 @@ mod llvm_wrap; include!(concat!(env!("OUT_DIR"), "/static.rs")); +#[link_args="-ltinfo"] +extern { } + fn main() { let languages: Vec> = vec![