mirror of https://github.com/rust-lang/rust.git
build: Build crates with --cfg stageN. Use #[cfg(stageN)]
This commit is contained in:
parent
125552fb19
commit
231097960c
|
@ -346,12 +346,14 @@ STAGE$(1)_T_$(2)_H_$(3) := \
|
|||
$$(Q)$$(call CFG_RUN_TARG,$(1), \
|
||||
$$(CFG_VALGRIND_COMPILE$(1)) \
|
||||
$$(HBIN$(1)_H_$(3))/rustc$$(X) \
|
||||
--cfg stage$(1) \
|
||||
$$(CFG_RUSTC_FLAGS) --target=$(2))
|
||||
|
||||
PERF_STAGE$(1)_T_$(2)_H_$(3) := \
|
||||
$$(Q)$$(call CFG_RUN_TARG,$(1), \
|
||||
$$(CFG_PERF_TOOL) \
|
||||
$$(HBIN$(1)_H_$(3))/rustc$$(X) \
|
||||
--cfg stage$(1) \
|
||||
$$(CFG_RUSTC_FLAGS) --target=$(2))
|
||||
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue