Fallout from updating bootstrap Cargo

This commit is contained in:
Alex Crichton 2016-12-28 20:13:10 -08:00
parent 6207e80d2c
commit 03bc2cf35a
9 changed files with 13 additions and 13 deletions

View File

@ -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"

View File

@ -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"

View File

@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "proc_macro_tokens"
version = "0.0.0"
build = false
[lib]
path = "lib.rs"

View File

@ -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)]

View File

@ -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;

View File

@ -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]

View File

@ -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)]

View File

@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustc_plugin"
version = "0.0.0"
build = false
[lib]
name = "rustc_plugin"

View File

@ -2,6 +2,7 @@
authors = ["The Rust Project Developers"]
name = "rustbook"
version = "0.0.0"
build = false
[[bin]]
name = "rustbook"