X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc%2Flib%2Fllvm.rs;h=a856c06997169b17ee02e3b69675167176e8cca6;hb=acc5e32e53d313a890a07cb0b693ce8df5bc94ce;hp=5e5cc242358bf9bd9a2d9b288b4593bac0dba31a;hpb=4252a24ae1236207a99c1d313d4b1b1eda3ebb58;p=rust.git diff --git a/src/librustc/lib/llvm.rs b/src/librustc/lib/llvm.rs index 5e5cc242358..a856c069971 100644 --- a/src/librustc/lib/llvm.rs +++ b/src/librustc/lib/llvm.rs @@ -306,13 +306,7 @@ pub mod llvm { use std::libc::{c_char, c_int, c_longlong, c_ushort, c_uint, c_ulonglong, size_t}; - #[cfg(stage0)] - #[link_args = "-lrustllvm"] - extern {} - #[cfg(not(stage0))] // if you're deleting this, put this on the block below #[link(name = "rustllvm")] - extern {} - extern { /* Create and destroy contexts. */ pub fn LLVMContextCreate() -> ContextRef;