1ae3cff1eb
In #49289, rustc was changed to emit metadata for binaries, which made it so that the librustc.rmeta file created when compiling librustc was overwritten by the rustc-main compilation. This commit renames the rustc-main binary to avoid this problem. https://github.com/rust-lang/cargo/issues/5524 has also been filed to see if Cargo can learn to warn on this situation instead of leaving it for the user to debug.
16 lines
298 B
TOML
16 lines
298 B
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "rustc-main"
|
|
version = "0.0.0"
|
|
|
|
[[bin]]
|
|
name = "rustc_binary"
|
|
path = "rustc.rs"
|
|
|
|
[dependencies]
|
|
rustc_target = { path = "../librustc_target" }
|
|
rustc_driver = { path = "../librustc_driver" }
|
|
|
|
[features]
|
|
jemalloc = ["rustc_target/jemalloc"]
|