diff options
Diffstat (limited to 'src/librustc_llvm/lib.rs')
| -rw-r--r-- | src/librustc_llvm/lib.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_llvm/lib.rs b/src/librustc_llvm/lib.rs index e0d585d6f5b..a10e9baf9cc 100644 --- a/src/librustc_llvm/lib.rs +++ b/src/librustc_llvm/lib.rs @@ -31,7 +31,7 @@ #![feature(link_args)] #![feature(staged_api)] #![feature(vec_push_all)] -#![cfg_attr(not(stage0), feature(linked_from))] +#![feature(linked_from)] extern crate libc; #[macro_use] #[no_link] extern crate rustc_bitflags; @@ -599,7 +599,7 @@ pub mod debuginfo { // automatically updated whenever LLVM is updated to include an up-to-date // set of the libraries we need to link to LLVM for. #[link(name = "rustllvm", kind = "static")] -#[cfg_attr(not(stage0), linked_from = "rustllvm")] // not quite true but good enough +#[linked_from = "rustllvm"] // not quite true but good enough extern { /* Create and destroy contexts. */ pub fn LLVMContextCreate() -> ContextRef;  | 
