mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Set RUSTC and RUSTDOC env vars to invalid values to catch forgetting to set them
This commit is contained in:
@@ -134,6 +134,9 @@ pub fn main() {
|
||||
process::exit(0);
|
||||
}
|
||||
|
||||
env::set_var("RUSTC", "rustc_should_be_set_explicitly");
|
||||
env::set_var("RUSTDOC", "rustdoc_should_be_set_explicitly");
|
||||
|
||||
let cg_clif_dylib =
|
||||
build_backend::build_backend(&dirs, channel, &host_compiler, use_unstable_features);
|
||||
match command {
|
||||
|
||||
Reference in New Issue
Block a user