From 9379485713eacff30948bed95c71a39ec984653b Mon Sep 17 00:00:00 2001 From: greg Date: Thu, 26 Oct 2017 02:03:47 -0700 Subject: [PATCH] Some linker bullshit I don't know why I needed to do this --- Cargo.toml | 2 +- src/main.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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![