Skip to content

Commit df12749

Browse files
committed
Register snapshots
1 parent bd33951 commit df12749

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

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 old_snapshot_files[kernel]:
12+
for name in snapshot_files[kernel]:
1313
p = "rust-stage0/" + name
1414
fp = os.path.join("stage0", name)
1515
print("extracting " + fp)

src/etc/snapshot.py

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

18-
old_snapshot_files = {
19-
"linux": ["bin/rustc", "lib/libstd.so",
20-
"lib/librustrt.so", "lib/librustllvm.so"],
21-
"macos": ["bin/rustc", "lib/libstd.dylib",
22-
"lib/librustrt.dylib", "lib/librustllvm.dylib"],
23-
"winnt": ["bin/rustc.exe", "lib/std.dll",
24-
"lib/rustrt.dll", "lib/rustllvm.dll"]
25-
}
26-
2718
snapshot_files = {
2819
"linux": ["bin/rustc", "lib/libruststd.so",
2920
"lib/librustrt.so", "lib/librustllvm.so"],

src/snapshots.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
S 2011-10-31 bd33951
2+
linux-i386 ba99fdd5ca1b67ced60c97eb2f167d5932a91deb
3+
macos-i386 d1256e5fd4a3bbd7e269371cae53099597394b64
4+
winnt-i386 301fc3ef74e5a0f7e9d16d20970a42ee97dea46b
5+
16
S 2011-10-28 3397fa4
27
linux-i386 4031e37753bde12a8016ade37e887b7a5d2a7944
38
macos-i386 4059a95efb3886e20be40c0303d957fa6bce3904

0 commit comments

Comments
 (0)