cleanup: Remove duplicate library names from `Cargo.toml`s

This commit is contained in:
Vadim Petrochenkov 2020-07-23 10:25:49 +03:00
parent 85fbf49ce0
commit 7dfbf59f10
7 changed files with 1 additions and 10 deletions

View File

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

View File

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

View File

@ -5,7 +5,6 @@ version = "0.0.0"
edition = "2018"
[lib]
name = "bootstrap"
path = "lib.rs"
doctest = false

View File

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

View File

@ -5,5 +5,4 @@ authors = ["The Rust Project Developers"]
edition = "2018"
[lib]
name = "build_helper"
path = "lib.rs"

View File

@ -5,7 +5,6 @@ version = "0.0.0"
edition = "2018"
[lib]
name = "rustc_llvm"
path = "lib.rs"
[features]

View File

@ -5,7 +5,6 @@ version = "0.0.0"
edition = "2018"
[lib]
name = "rustdoc"
path = "lib.rs"
[dependencies]