Skip to content

Commit 2c234fd

Browse files
committed
Also copy rt and rustllvm to stage0 for now
Once we've updated the snapshots to include them we can remove these rules
1 parent 984caa3 commit 2c234fd

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

mk/stage0.mk

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES)
1+
# FIXME: Copying rt and rustllvm to stage0 is transitional until the snapshot
2+
# that begins including them
3+
stage0/lib/$(CFG_RUNTIME): rt/$(CFG_RUNTIME)
4+
@$(call E, cp: $@)
5+
$(Q)cp $< $@
6+
7+
stage0/lib/$(CFG_RUSTLLVM): rustllvm/$(CFG_RUSTLLVM)
8+
@$(call E, cp: $@)
9+
$(Q)cp $< $@
10+
11+
stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES) \
12+
stage0/lib/$(CFG_RUNTIME) stage0/lib/$(CFG_RUSTLLVM)
213
@$(call E, fetch: $@)
314
$(Q)$(S)src/etc/get-snapshot.py
415
$(Q)touch $@

0 commit comments

Comments
 (0)