Skip to content

Commit 72678da

Browse files
committed
---
yaml --- r: 4159 b: refs/heads/master c: b0059bd h: refs/heads/master i: 4157: 84b8eb1 4155: 8704b59 4151: 5a81023 4143: 255fa0a 4127: 9623c94 4095: 1cb4a68 v: v3
1 parent 2c9d211 commit 72678da

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
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: 8c821ff03868c08e0c1b4c7caa730f8b7c560bd5
2+
refs/heads/master: b0059bd357404859aae3300e76ad3cc8a91b5364

trunk/mk/snap.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

2-
snap-stage1: stage1/rustc$(X) stage1/lib/glue.o stage1/lib/$(CFG_STDLIB) \
3-
stage1/lib/libstd.rlib stage1/lib/$(CFG_RUNTIME) \
2+
snap-stage1: stage1/rustc$(X) stage1/lib/glue.o stage1/lib/$(CFG_RUNTIME) \
43
stage1/$(CFG_RUSTLLVM)
54
$(S)src/etc/make-snapshot.py stage1
65

trunk/src/etc/snapshot.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ def make_snapshot(stage):
120120

121121
tar = tarfile.open(file0, "w:bz2")
122122
for name in snapshot_files[kernel]:
123-
tar.add(os.path.join(stage, name),
123+
dir = stage
124+
if stage == "stage1" and re.match(r"^lib/(lib)?std.*", name):
125+
dir = "stage0"
126+
tar.add(os.path.join(dir, name),
124127
"rust-stage0/" + name)
125128
tar.close()
126129

0 commit comments

Comments
 (0)