Set RUSTC_BOOTSTRAP to some value.
Environment variables on windows can't be empty.
This commit is contained in:
parent
5665bdf3e3
commit
6a34feb034
@ -372,7 +372,7 @@ CFG_INFO := $(info cfg: disabling unstable features (CFG_DISABLE_UNSTABLE_FEATUR
|
|||||||
# Turn on feature-staging
|
# Turn on feature-staging
|
||||||
export CFG_DISABLE_UNSTABLE_FEATURES
|
export CFG_DISABLE_UNSTABLE_FEATURES
|
||||||
# Subvert unstable feature lints to do the self-build
|
# Subvert unstable feature lints to do the self-build
|
||||||
export RUSTC_BOOTSTRAP
|
export RUSTC_BOOTSTRAP=1
|
||||||
endif
|
endif
|
||||||
ifdef CFG_MUSL_ROOT
|
ifdef CFG_MUSL_ROOT
|
||||||
export CFG_MUSL_ROOT
|
export CFG_MUSL_ROOT
|
||||||
|
@ -873,7 +873,7 @@ impl Build {
|
|||||||
|
|
||||||
/// Adds the compiler's bootstrap key to the environment of `cmd`.
|
/// Adds the compiler's bootstrap key to the environment of `cmd`.
|
||||||
fn add_bootstrap_key(&self, cmd: &mut Command) {
|
fn add_bootstrap_key(&self, cmd: &mut Command) {
|
||||||
cmd.env("RUSTC_BOOTSTRAP", "");
|
cmd.env("RUSTC_BOOTSTRAP", "1");
|
||||||
// FIXME: Transitionary measure to bootstrap using the old bootstrap logic.
|
// FIXME: Transitionary measure to bootstrap using the old bootstrap logic.
|
||||||
// Remove this once the bootstrap compiler uses the new login in Issue #36548.
|
// Remove this once the bootstrap compiler uses the new login in Issue #36548.
|
||||||
cmd.env("RUSTC_BOOTSTRAP_KEY", "62b3e239");
|
cmd.env("RUSTC_BOOTSTRAP_KEY", "62b3e239");
|
||||||
|
Loading…
Reference in New Issue
Block a user