We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c821ff commit b0059bdCopy full SHA for b0059bd
mk/snap.mk
@@ -1,6 +1,5 @@
1
2
-snap-stage1: stage1/rustc$(X) stage1/lib/glue.o stage1/lib/$(CFG_STDLIB) \
3
- stage1/lib/libstd.rlib stage1/lib/$(CFG_RUNTIME) \
+snap-stage1: stage1/rustc$(X) stage1/lib/glue.o stage1/lib/$(CFG_RUNTIME) \
4
stage1/$(CFG_RUSTLLVM)
5
$(S)src/etc/make-snapshot.py stage1
6
src/etc/snapshot.py
@@ -120,7 +120,10 @@ def make_snapshot(stage):
120
121
tar = tarfile.open(file0, "w:bz2")
122
for name in snapshot_files[kernel]:
123
- tar.add(os.path.join(stage, name),
+ 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),
127
"rust-stage0/" + name)
128
tar.close()
129
0 commit comments