Register snapshots

This commit is contained in:
Brian Anderson 2011-10-31 15:16:01 -07:00
parent bd33951b1c
commit df12749b36
3 changed files with 6 additions and 10 deletions

View File

@ -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)

View File

@ -15,15 +15,6 @@ download_url_base = "http://dl.rust-lang.org/stage0-snapshots"
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"],

View File

@ -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