Skip to content

Commit e8e2f33

Browse files
nikomatsakisbrson
authored andcommitted
Fix build on windows
1 parent 8385d77 commit e8e2f33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mk/tests.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ check-full: tidy check-stage1 check-stage2 check-stage3 \
7777

7878
check-fast: tidy \
7979
check-stage2-rustc check-stage2-std \
80-
test/$(FT_DRIVER).out \
80+
test/$(FT_DRIVER).out
8181

8282
# Run the tidy script in multiple parts to avoid huge 'echo' commands
8383
tidy:
@@ -307,12 +307,12 @@ test/$(FT).rc test/$(FT_DRIVER).rs: $(TEST_RPASS_SOURCES_STAGE2) \
307307

308308
$(TARGET_HOST_LIB2)/$(FT_LIB): test/$(FT).rc $(SREQ2$(CFG_HOST_TRIPLE))
309309
@$(call E, compile_and_link: $@)
310-
$(STAGE2) --lib -o $@ $<
310+
$(STAGE2_$(CFG_HOST_TRIPLE)) --lib -o $@ $<
311311

312312
test/$(FT_DRIVER)$(X): test/$(FT_DRIVER).rs $(TARGET_HOST_LIB2)/$(FT_LIB) \
313313
$(SREQ2$(CFG_HOST_TRIPLE))
314314
@$(call E, compile_and_link: $@)
315-
$(STAGE2) -L $(HOST_LIB2) -o $@ $<
315+
$(STAGE2_$(CFG_HOST_TRIPLE)) -L $(HOST_LIB2) -o $@ $<
316316

317317
test/$(FT_DRIVER).out: test/$(FT_DRIVER)$(X) $(SREQ2$(CFG_HOST_TRIPLE))
318318
$(Q)$(call CFG_RUN_TEST, $<)

0 commit comments

Comments
 (0)