Skip to content

Commit

Permalink
Register snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Oct 31, 2011
1 parent bd33951 commit df12749
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/etc/get-snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def unpack_snapshot(snap):
print("opening snapshot " + dl_path)
tar = tarfile.open(dl_path)
kernel = get_kernel()
for name in old_snapshot_files[kernel]:
for name in snapshot_files[kernel]:
p = "rust-stage0/" + name
fp = os.path.join("stage0", name)
print("extracting " + fp)
Expand Down
9 changes: 0 additions & 9 deletions src/etc/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ def scrub(b):
download_dir_base = "dl"
download_unpack_base = os.path.join(download_dir_base, "unpack")

old_snapshot_files = {
"linux": ["bin/rustc", "lib/libstd.so",
"lib/librustrt.so", "lib/librustllvm.so"],
"macos": ["bin/rustc", "lib/libstd.dylib",
"lib/librustrt.dylib", "lib/librustllvm.dylib"],
"winnt": ["bin/rustc.exe", "lib/std.dll",
"lib/rustrt.dll", "lib/rustllvm.dll"]
}

snapshot_files = {
"linux": ["bin/rustc", "lib/libruststd.so",
"lib/librustrt.so", "lib/librustllvm.so"],
Expand Down
5 changes: 5 additions & 0 deletions src/snapshots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
S 2011-10-31 bd33951
linux-i386 ba99fdd5ca1b67ced60c97eb2f167d5932a91deb
macos-i386 d1256e5fd4a3bbd7e269371cae53099597394b64
winnt-i386 301fc3ef74e5a0f7e9d16d20970a42ee97dea46b

S 2011-10-28 3397fa4
linux-i386 4031e37753bde12a8016ade37e887b7a5d2a7944
macos-i386 4059a95efb3886e20be40c0303d957fa6bce3904
Expand Down

0 comments on commit df12749

Please sign in to comment.