Some linker bullshit

I don't know why I needed to do this
This commit is contained in:
greg 2017-10-26 02:03:47 -07:00
parent 910522537c
commit 9379485713
2 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@ llvm-sys = "*"
take_mut = "0.1.3" take_mut = "0.1.3"
itertools = "0.5.8" itertools = "0.5.8"
getopts = "*" getopts = "*"
linefeed = "0.2.2" linefeed = "0.3"
lazy_static = "0.2.8" lazy_static = "0.2.8"
maplit = "*" maplit = "*"
colored = "1.5" colored = "1.5"

View File

@ -1,3 +1,4 @@
#![feature(link_args)]
#![feature(advanced_slice_patterns, slice_patterns, box_patterns, box_syntax)] #![feature(advanced_slice_patterns, slice_patterns, box_patterns, box_syntax)]
#![feature(plugin)] #![feature(plugin)]
#![plugin(rocket_codegen)] #![plugin(rocket_codegen)]
@ -34,6 +35,9 @@ mod llvm_wrap;
include!(concat!(env!("OUT_DIR"), "/static.rs")); include!(concat!(env!("OUT_DIR"), "/static.rs"));
#[link_args="-ltinfo"]
extern { }
fn main() { fn main() {
let languages: Vec<Box<ProgrammingLanguageInterface>> = let languages: Vec<Box<ProgrammingLanguageInterface>> =
vec![ vec![