about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mk/main.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/main.mk b/mk/main.mk
index 46cbe34904d..8c910f47596 100644
--- a/mk/main.mk
+++ b/mk/main.mk
@@ -330,10 +330,10 @@ ifdef CFG_DISABLE_UNSTABLE_FEATURES
 CFG_INFO := $(info cfg: disabling unstable features (CFG_DISABLE_UNSTABLE_FEATURES))
 # Turn on feature-staging
 export CFG_DISABLE_UNSTABLE_FEATURES
-endif
 # Subvert unstable feature lints to do the self-build
-export CFG_BOOTSTRAP_KEY
 export RUSTC_BOOTSTRAP_KEY:=$(CFG_BOOTSTRAP_KEY)
+endif
+export CFG_BOOTSTRAP_KEY
 
 ######################################################################
 # Per-stage targets and runner