cleanup: Remove duplicate library names from Cargo.toml
s
This commit is contained in:
parent
85fbf49ce0
commit
7dfbf59f10
@ -4,10 +4,6 @@ name = "rustc-main"
|
||||
version = "0.0.0"
|
||||
edition = '2018'
|
||||
|
||||
[[bin]]
|
||||
name = "rustc_binary"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
rustc_driver = { path = "../rustc_driver" }
|
||||
|
||||
|
@ -14,7 +14,6 @@ Rust lexer used by rustc. No stability guarantees are provided.
|
||||
# This will be used when publishing this crate as `rustc-ap-rustc_lexer`.
|
||||
[lib]
|
||||
doctest = false
|
||||
name = "rustc_lexer"
|
||||
|
||||
# Note that this crate purposefully does not depend on other rustc crates
|
||||
[dependencies]
|
||||
|
@ -5,7 +5,6 @@ version = "0.0.0"
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
name = "bootstrap"
|
||||
path = "lib.rs"
|
||||
doctest = false
|
||||
|
||||
|
@ -819,7 +819,7 @@ impl Step for Assemble {
|
||||
|
||||
// Link the compiler binary itself into place
|
||||
let out_dir = builder.cargo_out(build_compiler, Mode::Rustc, host);
|
||||
let rustc = out_dir.join(exe("rustc_binary", host));
|
||||
let rustc = out_dir.join(exe("rustc-main", host));
|
||||
let bindir = sysroot.join("bin");
|
||||
t!(fs::create_dir_all(&bindir));
|
||||
let compiler = builder.rustc(target_compiler);
|
||||
|
@ -5,5 +5,4 @@ authors = ["The Rust Project Developers"]
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
name = "build_helper"
|
||||
path = "lib.rs"
|
||||
|
@ -5,7 +5,6 @@ version = "0.0.0"
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
name = "rustc_llvm"
|
||||
path = "lib.rs"
|
||||
|
||||
[features]
|
||||
|
@ -5,7 +5,6 @@ version = "0.0.0"
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
name = "rustdoc"
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
|
Loading…
Reference in New Issue
Block a user