diff --git a/src/libcollections/Cargo.toml b/src/libcollections/Cargo.toml index ab882fde9c2..186ba6e8f21 100644 --- a/src/libcollections/Cargo.toml +++ b/src/libcollections/Cargo.toml @@ -16,6 +16,7 @@ std_unicode = { path = "../libstd_unicode" } name = "collectionstest" path = "../libcollectionstest/lib.rs" -[[bench]] -name = "collectionstest" -path = "../libcollectionstest/lib.rs" +# FIXME: need to extract benchmarks to separate crate +#[[bench]] +#name = "collectionstest" +#path = "../libcollectionstest/lib.rs" diff --git a/src/libcore/Cargo.toml b/src/libcore/Cargo.toml index a72c712ad17..e0dbc096cd0 100644 --- a/src/libcore/Cargo.toml +++ b/src/libcore/Cargo.toml @@ -13,6 +13,7 @@ bench = false name = "coretest" path = "../libcoretest/lib.rs" -[[bench]] -name = "coretest" -path = "../libcoretest/lib.rs" +# FIXME: need to extract benchmarks to a separate crate +#[[bench]] +#name = "coretest" +#path = "../libcoretest/lib.rs" diff --git a/src/libproc_macro_tokens/Cargo.toml b/src/libproc_macro_tokens/Cargo.toml index 2b66d56759f..b4365e4fb26 100644 --- a/src/libproc_macro_tokens/Cargo.toml +++ b/src/libproc_macro_tokens/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Rust Project Developers"] name = "proc_macro_tokens" version = "0.0.0" +build = false [lib] path = "lib.rs" diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index ff508d2d819..efe855f0a39 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -30,7 +30,6 @@ #![feature(conservative_impl_trait)] #![feature(const_fn)] #![feature(core_intrinsics)] -#![cfg_attr(stage0, feature(item_like_imports))] #![feature(libc)] #![feature(nonzero)] #![feature(pub_restricted)] diff --git a/src/librustc_llvm/ffi.rs b/src/librustc_llvm/ffi.rs index f3dbac7ce68..5fd85023e41 100644 --- a/src/librustc_llvm/ffi.rs +++ b/src/librustc_llvm/ffi.rs @@ -472,9 +472,7 @@ pub mod debuginfo { // generates an llvmdeps.rs file next to this one which will be // automatically updated whenever LLVM is updated to include an up-to-date // set of the libraries we need to link to LLVM for. -#[cfg_attr(not(all(stage0,cargobuild)), - link(name = "rustllvm", kind = "static"))] // not quite true but good enough -#[cfg_attr(stage0, linked_from = "rustllvm")] +#[link(name = "rustllvm", kind = "static")] // not quite true but good enough extern "C" { // Create and destroy contexts. pub fn LLVMContextCreate() -> ContextRef; diff --git a/src/librustc_llvm/lib.rs b/src/librustc_llvm/lib.rs index 69709f72b8b..c8b1ea50f97 100644 --- a/src/librustc_llvm/lib.rs +++ b/src/librustc_llvm/lib.rs @@ -27,9 +27,8 @@ #![feature(concat_idents)] #![feature(libc)] #![feature(link_args)] -#![cfg_attr(stage0, feature(linked_from))] #![feature(staged_api)] -#![cfg_attr(not(stage0), feature(rustc_private))] +#![feature(rustc_private)] extern crate libc; #[macro_use] diff --git a/src/librustc_mir/lib.rs b/src/librustc_mir/lib.rs index 617bd81d96a..56dadd2d673 100644 --- a/src/librustc_mir/lib.rs +++ b/src/librustc_mir/lib.rs @@ -22,7 +22,6 @@ Rust MIR: a lowered representation of Rust. Also: an experiment! #![feature(associated_consts)] #![feature(box_patterns)] -#![cfg_attr(stage0, feature(item_like_imports))] #![feature(rustc_diagnostic_macros)] #![feature(rustc_private)] #![feature(staged_api)] diff --git a/src/librustc_plugin/Cargo.toml b/src/librustc_plugin/Cargo.toml index 514d81ecc94..48d4437358c 100644 --- a/src/librustc_plugin/Cargo.toml +++ b/src/librustc_plugin/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Rust Project Developers"] name = "rustc_plugin" version = "0.0.0" +build = false [lib] name = "rustc_plugin" diff --git a/src/tools/rustbook/Cargo.toml b/src/tools/rustbook/Cargo.toml index 956392ca540..e7690c03de5 100644 --- a/src/tools/rustbook/Cargo.toml +++ b/src/tools/rustbook/Cargo.toml @@ -2,6 +2,7 @@ authors = ["The Rust Project Developers"] name = "rustbook" version = "0.0.0" +build = false [[bin]] name = "rustbook"