Skip to content

Commit 7ac4125

Browse files
committed
---
yaml --- r: 4953 b: refs/heads/master c: e3d3aaa h: refs/heads/master i: 4951: 22e6d63 v: v3
1 parent 4e5b8cd commit 7ac4125

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 4133e3ec82f7e939341a37a7e348e43085603f7d
2+
refs/heads/master: e3d3aaadaa94f4eb7a4dceb96f610542ca7574ce

trunk/Makefile.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,15 @@ SREQ$(1) = stage$(1)/rustc$(X) \
186186
$$(MKFILES)
187187
endif
188188

189+
ifeq ($(1),0)
190+
# Don't run the the stage0 compiler under valgrind - that ship has sailed
191+
CFG_VALGRIND_COMPILE$(1) =
192+
else
193+
CFG_VALGRIND_COMPILE$(1) = $$(CFG_VALGRIND_COMPILE)
194+
endif
195+
189196
STAGE$(1) := $$(Q)$$(call CFG_RUN_TARG,stage$(1), \
190-
$$(CFG_VALGRIND_COMPILE) stage$(1)/rustc$$(X) \
197+
$$(CFG_VALGRIND_COMPILE$(1)) stage$(1)/rustc$$(X) \
191198
$$(CFG_RUSTC_FLAGS))
192199
endef
193200

0 commit comments

Comments
 (0)