Skip to content

Commit 75fe7dd

Browse files
committed
---
yaml --- r: 1738 b: refs/heads/master c: 74a585e h: refs/heads/master v: v3
1 parent e2442d2 commit 75fe7dd

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: aa1e331469509a0029f2dcdd0577b4c203fcaf14
2+
refs/heads/master: 74a585eeb764882a482f1092d3701426023ea151

trunk/Makefile.in

+22
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@ COMPILER_INPUTS := $(wildcard $(addprefix $(S)src/comp/, \
343343
all: boot/rustboot$(X) \
344344
rt/$(CFG_RUNTIME) \
345345
llvmext/$(CFG_LLVMEXT) \
346+
stage0/$(CFG_STDLIB) \
347+
stage1/$(CFG_STDLIB) \
346348
stage0/rustc$(X) \
347349
stage0/glue.o \
348350
$(GENERATED)
@@ -372,23 +374,43 @@ boot/version.ml: $(MKFILES)
372374
$(Q)git log -1 \
373375
--pretty=format:'let version = "prerelease (%h %ci)";;' >$@ || exit 1
374376

377+
375378
stage0/$(CFG_STDLIB): $(S)src/$(STDLIB_CRATE) $(STDLIB_INPUTS) \
376379
boot/rustboot$(X) $(MKFILES)
377380
@$(call E, compile: $@)
378381
$(BOOT) -shared -o $@ $<
379382

383+
stage1/$(CFG_STDLIB): $(S)src/$(STDLIB_CRATE) $(STDLIB_INPUTS) \
384+
stage0/rustc$(X) $(MKFILES)
385+
@$(call E, compile: $@)
386+
$(STAGE0) -shared -o $@ $<
387+
388+
380389
stage0/rustc$(X): $(S)src/$(COMPILER_CRATE) $(COMPILER_INPUTS) \
381390
boot/rustboot$(X) rt/$(CFG_RUNTIME) \
382391
stage0/$(CFG_STDLIB)
383392
@$(call E, compile: $@)
384393
$(BOOT) -minimal -o $@ $<
385394
$(Q)chmod 0755 $@
386395

396+
stage1/rustc$(X): $(S)src/$(COMPILER_CRATE) $(COMPILER_INPUTS) \
397+
stage0/rustc$(X) rt/$(CFG_RUNTIME) \
398+
stage1/$(CFG_STDLIB)
399+
@$(call E, compile: $@)
400+
$(STAGE0) -o $@ $<
401+
$(Q)chmod 0755 $@
402+
403+
387404
stage0/glue.bc: stage0/rustc$(X) stage0/$(CFG_STDLIB) \
388405
llvmext/$(CFG_LLVMEXT) rt/$(CFG_RUNTIME)
389406
@$(call E, generate: $@)
390407
$(STAGE0) -o $@ -glue
391408

409+
stage1/glue.bc: stage1/rustc$(X) stage1/$(CFG_STDLIB) \
410+
llvmext/$(CFG_LLVMEXT) rt/$(CFG_RUNTIME)
411+
@$(call E, generate: $@)
412+
$(STAGE1) -o $@ -glue
413+
392414
######################################################################
393415
# Pattern rules
394416
######################################################################

0 commit comments

Comments
 (0)