Skip to content

Commit c4f31d0

Browse files
committed
---
yaml --- r: 6064 b: refs/heads/master c: bd33951 h: refs/heads/master v: v3
1 parent a7b6461 commit c4f31d0

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
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: 86459b3517772a466f55d4bcc33dd972e1f7326c
2+
refs/heads/master: bd33951b1c59fe968e625fc7379ce2761ede777e

trunk/src/etc/get-snapshot.py

Lines changed: 1 addition & 1 deletion
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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def scrub(b):
1515
download_dir_base = "dl"
1616
download_unpack_base = os.path.join(download_dir_base, "unpack")
1717

18-
snapshot_files = {
18+
old_snapshot_files = {
1919
"linux": ["bin/rustc", "lib/libstd.so",
2020
"lib/librustrt.so", "lib/librustllvm.so"],
2121
"macos": ["bin/rustc", "lib/libstd.dylib",
@@ -24,6 +24,15 @@ def scrub(b):
2424
"lib/rustrt.dll", "lib/rustllvm.dll"]
2525
}
2626

27+
snapshot_files = {
28+
"linux": ["bin/rustc", "lib/libruststd.so",
29+
"lib/librustrt.so", "lib/librustllvm.so"],
30+
"macos": ["bin/rustc", "lib/libruststd.dylib",
31+
"lib/librustrt.dylib", "lib/librustllvm.dylib"],
32+
"winnt": ["bin/rustc.exe", "lib/ruststd.dll",
33+
"lib/rustrt.dll", "lib/rustllvm.dll"]
34+
}
35+
2736
def parse_line(n, line):
2837
global snapshotfile
2938

0 commit comments

Comments
 (0)