Skip to content

Commit 5acda18

Browse files
committed
---
yaml --- r: 174430 b: refs/heads/batch c: fa1d63a h: refs/heads/master v: v3
1 parent b971970 commit 5acda18

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
3030
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32-
refs/heads/batch: 89b80faa8ef2b52f5adc423cfcfed69b313ea1b7
32+
refs/heads/batch: fa1d63acd3c144ffe53766686090c3fb3a551c8d
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 44a287e6eb22ec3c2a687fc156813577464017f7
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/batch/mk/main.mk

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ export CFG_DISABLE_UNSTABLE_FEATURES
333333
endif
334334
# Subvert unstable feature lints to do the self-build
335335
export CFG_BOOTSTRAP_KEY
336+
export RUSTC_BOOTSTRAP_KEY:=$(CFG_BOOTSTRAP_KEY)
336337

337338
######################################################################
338339
# Per-stage targets and runner
@@ -403,13 +404,8 @@ CSREQ$(1)_T_$(2)_H_$(3) = \
403404
ifeq ($(1),0)
404405
# Don't run the stage0 compiler under valgrind - that ship has sailed
405406
CFG_VALGRIND_COMPILE$(1) =
406-
# FIXME(21230) HACK Extract the key from the snapshot
407-
CFG_BOOSTRAP_KEY_ENV$(1) = RUSTC_BOOTSTRAP_KEY=$$$$((grep -a 'save analysis[0-9]' \
408-
$$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) || echo N) |\
409-
sed 's/.*save analysis\([0-9]*\).*/\1/')
410407
else
411408
CFG_VALGRIND_COMPILE$(1) = $$(CFG_VALGRIND_COMPILE)
412-
CFG_BOOSTRAP_KEY_ENV$(1) = RUSTC_BOOTSTRAP_KEY=$$(CFG_BOOTSTRAP_KEY)
413409
endif
414410

415411
# Add RUSTFLAGS_STAGEN values to the build command
@@ -482,7 +478,6 @@ STAGE$(1)_T_$(2)_H_$(3) := \
482478
$$(Q)$$(RPATH_VAR$(1)_T_$(2)_H_$(3)) \
483479
$$(call CFG_RUN_TARG_$(3),$(1), \
484480
$$(CFG_VALGRIND_COMPILE$(1)) \
485-
$$(CFG_BOOSTRAP_KEY_ENV$(1)) \
486481
$$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
487482
--cfg $$(CFGFLAG$(1)_T_$(2)_H_$(3)) \
488483
$$(CFG_RUSTC_FLAGS) $$(EXTRAFLAGS_STAGE$(1)) --target=$(2)) \

0 commit comments

Comments
 (0)