Skip to content

Commit abe0a45

Browse files
committed
---
yaml --- r: 6872 b: refs/heads/master c: 8bde865 h: refs/heads/master v: v3
1 parent 92992d2 commit abe0a45

File tree

7 files changed

+635
-612
lines changed

7 files changed

+635
-612
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: 96d7f83eb0c87453d57e5a71959d0d74a9e500ca
2+
refs/heads/master: 8bde865d0939658d134cc094dee168065153fdfa

trunk/Makefile.in

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,11 @@ STDLIB_INPUTS := $(wildcard $(addprefix $(S)src/libstd/, \
209209
######################################################################
210210

211211
COMPILER_CRATE := $(S)src/comp/rustc.rc
212-
COMPILER_INPUTS := $(wildcard $(addprefix $(S)src/comp/, \
213-
rustc.rc *.rs */*.rs */*/*.rs))
212+
COMPILER_INPUTS := $(filter-out $(S)src/comp/driver/rustc.rs, \
213+
$(wildcard $(addprefix $(S)src/comp/, \
214+
rustc.rc *.rs */*.rs */*/*.rs)))
215+
216+
RUSTC_INPUTS := $(S)src/comp/driver/rustc.rs
214217

215218
######################################################################
216219
# LLVM macros

trunk/mk/perf.mk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
ifdef CFG_PERF_TOOL
33
rustc-perf$(X): $(CFG_HOST_TRIPLE)/stage2/bin/rustc$(X)
44
@$(call E, perf compile: $@)
5-
$(PERF_STAGE2_T_$(CFG_HOST_TRIPLE)_H_$(CFG_HOST_TRIPLE)) -o $@ $(COMPILER_CRATE) >rustc-perf.err 2>&1
6-
$(Q)rm -f $@
5+
$(PERF_STAGE2_T_$(CFG_HOST_TRIPLE)_H_$(CFG_HOST_TRIPLE)) --lib \
6+
-o $@ $(COMPILER_CRATE) >rustc-perf.err 2>&1
7+
$(Q)rm -f $(LIBRUSTC_GLOB)
78
else
89
rustc-perf$(X): $(CFG_HOST_TRIPLE)/stage2/bin/rustc$(X)
910
$(Q)touch $@

trunk/mk/target.mk

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,14 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_RUSTLLVM): \
4646
$$(Q)cp $$< $$@
4747

4848
$$(TBIN$(1)_T_$(2)_H_$(3))/rustc$$(X): \
49-
$$(COMPILER_CRATE) $$(COMPILER_INPUTS) \
50-
$$(TSREQ$(1)_T_$(2)_H_$(3)) \
51-
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_RUSTLLVM) \
52-
$$(TCORELIB_DEFAULT$(1)_T_$(2)_H_$(3)) \
53-
$$(TSTDLIB_DEFAULT$(1)_T_$(2)_H_$(3))
49+
$$(RUSTC_INPUTS) \
50+
$$(TLIBRUSTC_DEFAULT$(1)_T_$(2)_H_$(3))
5451
@$$(call E, compile_and_link: $$@)
5552
$$(STAGE$(1)_T_$(2)_H_$(3)) -o $$@ $$<
5653

5754
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_LIBRUSTC): \
5855
$$(COMPILER_CRATE) $$(COMPILER_INPUTS) \
59-
$$(TSREQ$(1)_T_$(2)_H_$(3)) \
56+
$$(TSREQ$(1)_T_$(2)_H_$(3)) \
6057
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_RUSTLLVM) \
6158
$$(TCORELIB_DEFAULT$(1)_T_$(2)_H_$(3)) \
6259
$$(TSTDLIB_DEFAULT$(1)_T_$(2)_H_$(3))

0 commit comments

Comments
 (0)