Skip to content

Commit 4e33a6c

Browse files
brsongraydon
authored andcommitted
---
yaml --- r: 1625 b: refs/heads/master c: 242ecd0 h: refs/heads/master i: 1623: 58d26af v: v3
1 parent 8e8c60c commit 4e33a6c

File tree

2 files changed

+9
-22
lines changed

2 files changed

+9
-22
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 77f4c52c3ed5a172cd0c3dbc28f1043dab5cf97d
2+
refs/heads/master: 242ecd0e96e568d80e20ad847a9a7766213cffee

trunk/src/Makefile

+8-21
Original file line numberDiff line numberDiff line change
@@ -759,14 +759,13 @@ test/compile-fail/%.rustc.out.tmp: test/compile-fail/%.rs $(SREQ)
759759
$(CFG_QUIET)grep --text --quiet \
760760
"$$(grep error-pattern $< | cut -d : -f 2- | tr -d '\n\r')" $@
761761

762-
test/run-pass/%.boot$(CFG_EXE_SUFFIX): test/run-pass/%.rc $(BREQ)
763-
@$(call CFG_ECHO, compile [boot]: $<)
764-
$(BOOT) -o $@ $<
762+
%.bc: %.rc $(SREQ)
763+
@$(call CFG_ECHO, compile [rustc]: $<)
764+
$(RUSTC) -o $@ $<
765765

766-
test/bench/shootout/%.boot$(CFG_EXE_SUFFIX): \
767-
test/bench/shootout/%.rs $(BREQ)
768-
@$(call CFG_ECHO, compile [boot]: $<)
769-
$(BOOT) -o $@ $<
766+
%.bc: %.rs $(SREQ)
767+
@$(call CFG_ECHO, compile [rustc]: $<)
768+
$(RUSTC) -o $@ $<
770769

771770
%.ll: %.bc
772771
@$(call CFG_ECHO, dis [llvm]: $<)
@@ -789,26 +788,14 @@ test/bench/shootout/%.boot$(CFG_EXE_SUFFIX): \
789788
@# programs, I\'ll live with the noise.
790789
-$(CFG_QUIET)$(DSYMUTIL) $@
791790

792-
test/run-pass/%.bc: test/run-pass/%.rc $(SREQ)
793-
@$(call CFG_ECHO, compile [rustc]: $<)
794-
$(RUSTC) -o $@ $<
795-
796-
test/run-pass/%.boot$(CFG_EXE_SUFFIX): test/run-pass/%.rs $(BREQ)
791+
%.boot$(CFG_EXE_SUFFIX): %.rs $(BREQ)
797792
@$(call CFG_ECHO, compile [boot]: $<)
798793
$(BOOT) -o $@ $<
799794

800-
test/run-pass/%.bc: test/run-pass/%.rs $(SREQ)
801-
@$(call CFG_ECHO, compile [rustc]: $<)
802-
$(RUSTC) -o $@ $<
803-
804-
test/run-fail/%.boot$(CFG_EXE_SUFFIX): test/run-fail/%.rs $(BREQ)
795+
%.boot$(CFG_EXE_SUFFIX): %.rc $(BREQ)
805796
@$(call CFG_ECHO, compile [boot]: $<)
806797
$(BOOT) -o $@ $<
807798

808-
test/run-fail/%.bc: test/run-fail/%.rs $(SREQ)
809-
@$(call CFG_ECHO, compile [rustc]: $<)
810-
$(RUSTC) -o $@ $<
811-
812799

813800
######################################################################
814801
# Auto-dependency

0 commit comments

Comments
 (0)