Skip to content

Commit dcdd37c

Browse files
authored
Merge pull request #37567 from brson/env-beta
[beta] Set RUSTC_BOOTSTRAP to some value.
2 parents 5f7cfd1 + e7c5469 commit dcdd37c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mk/main.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ CFG_INFO := $(info cfg: disabling unstable features (CFG_DISABLE_UNSTABLE_FEATUR
368368
# Turn on feature-staging
369369
export CFG_DISABLE_UNSTABLE_FEATURES
370370
# Subvert unstable feature lints to do the self-build
371-
export RUSTC_BOOTSTRAP
371+
export RUSTC_BOOTSTRAP=1
372372
endif
373373
ifdef CFG_MUSL_ROOT
374374
export CFG_MUSL_ROOT

src/bootstrap/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ impl Build {
863863

864864
/// Adds the compiler's bootstrap key to the environment of `cmd`.
865865
fn add_bootstrap_key(&self, cmd: &mut Command) {
866-
cmd.env("RUSTC_BOOTSTRAP", "");
866+
cmd.env("RUSTC_BOOTSTRAP", "1");
867867
// FIXME: Transitionary measure to bootstrap using the old bootstrap logic.
868868
// Remove this once the bootstrap compiler uses the new login in Issue #36548.
869869
cmd.env("RUSTC_BOOTSTRAP_KEY", "5c6cf767");

0 commit comments

Comments
 (0)