Skip to content

Commit 3ebcaf4

Browse files
msullivanbrson
authored andcommitted
---
yaml --- r: 4044 b: refs/heads/master c: b01ecb1 h: refs/heads/master v: v3
1 parent 1d73010 commit 3ebcaf4

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
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: d9286c8bdd7f90d1d1cf69281781bdf358238fb8
2+
refs/heads/master: b01ecb10c3911254cd20527a5328bac7a619fca9

trunk/Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ config.mk: $(S)configure $(S)Makefile.in $(S)src/snapshots.txt
226226
######################################################################
227227

228228
include $(CFG_SRC_DIR)/mk/intrinsics.mk
229-
include $(CFG_SRC_DIR)/mk/stage0.mk
230229
include $(CFG_SRC_DIR)/mk/stageN.mk
230+
include $(CFG_SRC_DIR)/mk/stage0.mk
231231
include $(CFG_SRC_DIR)/mk/rt.mk
232232
include $(CFG_SRC_DIR)/mk/rustllvm.mk
233233
include $(CFG_SRC_DIR)/mk/autodep.mk
@@ -269,4 +269,4 @@ endif
269269
ifneq ($(findstring clean,$(MAKECMDGOALS)),)
270270
CFG_INFO := $(info cfg: including clean rules)
271271
include $(CFG_SRC_DIR)/mk/clean.mk
272-
endif
272+
endif

trunk/mk/stage0.mk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ stage0/lib/main.o: rt/main.o
3535
stage0/lib/$(CFG_RUNTIME): stage0/rustc$(X)
3636
$(Q)touch $@
3737

38-
# stage0/lib/$(CFG_STDLIB) and stage0/lib/libstd.rlib rules are generated
39-
# in stageN.mk
38+
# Instantiate template (in stageN.mk) for building
39+
# stage0/lib/$(CFG_STDLIB) and stage0/lib/libstd.rlib.
40+
SREQpre = stage0/lib/main.o $(MKFILES)
41+
$(eval $(call STDLIBGEN,pre,0))
4042

trunk/mk/stageN.mk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@ stage$(2)/lib/$$(CFG_LIBRUSTC): $$(COMPILER_CRATE) $$(COMPILER_INPUTS) \
9696

9797
endef
9898

99-
# Instantiate template for building initial stdlib
100-
SREQpre = stage0/lib/main.o $(MKFILES)
101-
$(eval $(call STDLIBGEN,pre,0))
102-
10399
# Instantiate template for 0->1, 1->2, 2->3 build dirs
104100

105101
$(eval $(call STAGEN,0,1))

0 commit comments

Comments
 (0)