Skip to content

Commit f96bf13

Browse files
committed
---
yaml --- r: 3695 b: refs/heads/master c: 64595a5 h: refs/heads/master i: 3693: fd9cb21 3691: 7dd632f 3687: e8f4e5a 3679: 24cf6a7 v: v3
1 parent 7732b5c commit f96bf13

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 4e45e58c618ac2980e1b5dd737967b071a84e103
2+
refs/heads/master: 64595a53f826b0fd8890707d0e63c119116f2a27

trunk/mk/snap.mk

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11

22
snap-stage1: stage1/rustc$(X) stage1/glue.o stage1/lib/$(CFG_STDLIB) \
3-
stage1/lib/libstd.rlib
3+
stage1/lib/libstd.rlib stage1/lib/$(CFG_RUNTIME) \
4+
stage1/lib/$(CFG_RUSTLLVM)
45
$(S)src/etc/make-snapshot.py stage1
56

67
snap-stage2: stage2/rustc$(X) stage2/glue.o stage2/lib/$(CFG_STDLIB) \
7-
stage2/lib/libstd.rlib
8+
stage2/lib/libstd.rlib stage2/lib/$(CFG_RUNTIME) \
9+
stage2/lib/$(CFG_RUSTLLVM)
810
$(S)src/etc/make-snapshot.py stage2
911

1012
snap-stage3: stage3/rustc$(X) stage3/glue.o stage3/lib/$(CFG_STDLIB) \
11-
stage3/lib/libstd.rlib
13+
stage3/lib/libstd.rlib stage3/lib/$(CFG_RUNTIME) \
14+
stage3/lib/$(CFG_RUSTLLVM)
1215
$(S)src/etc/make-snapshot.py stage3
1316

trunk/src/etc/get-snapshot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def unpack_snapshot(snap):
99
print("opening snapshot " + dl_path)
1010
tar = tarfile.open(dl_path)
1111
kernel = get_kernel()
12-
for name in snapshot_files[kernel]:
12+
for name in old_snapshot_files[kernel]:
1313
p = "rust-stage0/" + name
1414
fp = os.path.join("stage0", name)
1515
print("extracting " + fp)

trunk/src/etc/snapshot.py

+11-1
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,22 @@ def scrub(b):
1515
download_dir_base = "dl"
1616
download_unpack_base = os.path.join(download_dir_base, "unpack")
1717

18-
snapshot_files = {
18+
# FIXME: This is transitional for moving rt/rustllvm into the snapshot
19+
old_snapshot_files = {
1920
"linux": ["rustc", "lib/glue.o", "lib/libstd.so", "lib/libstd.rlib" ],
2021
"macos": ["rustc", "lib/glue.o", "lib/libstd.dylib", "lib/libstd.rlib" ],
2122
"winnt": ["rustc.exe", "lib/glue.o", "lib/std.dll", "lib/libstd.rlib" ]
2223
}
2324

25+
snapshot_files = {
26+
"linux": ["rustc", "lib/glue.o", "lib/libstd.so", "lib/libstd.rlib",
27+
"lib/librustrt.so", "lib/librustllvm.so"],
28+
"macos": ["rustc", "lib/glue.o", "lib/libstd.dylib", "lib/libstd.rlib",
29+
"lib/librustrt.dylib", "lib/librustllvm.dylib"],
30+
"winnt": ["rustc.exe", "lib/glue.o", "lib/std.dll", "lib/libstd.rlib",
31+
"lib/rustrt.dll", "lib/rustllvm.dll"]
32+
}
33+
2434
def parse_line(n, line):
2535
global snapshotfile
2636

0 commit comments

Comments
 (0)