Grab librustrt.so instead of lib/librustrt.so in the snapshot.

This commit is contained in:
Michael Sullivan 2011-07-21 16:08:56 -07:00
parent 075a094c1f
commit c62a9fec77
2 changed files with 9 additions and 1 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 snapshot_files[kernel]:
for name in old_snapshot_files[kernel]:
p = "rust-stage0/" + name
fp = os.path.join("stage0", name)
print("extracting " + fp)

View File

@ -16,6 +16,14 @@ download_dir_base = "dl"
download_unpack_base = os.path.join(download_dir_base, "unpack")
snapshot_files = {
"linux": ["rustc", "lib/glue.o", "lib/libstd.so",
"librustrt.so", "librustllvm.so", "lib/intrinsics.bc"],
"macos": ["rustc", "lib/glue.o", "lib/libstd.dylib",
"librustrt.dylib", "librustllvm.dylib", "lib/intrinsics.bc"],
"winnt": ["rustc.exe", "lib/glue.o", "lib/std.dll",
"rustrt.dll", "rustllvm.dll", "lib/intrinsics.bc"]
}
old_snapshot_files = {
"linux": ["rustc", "lib/glue.o", "lib/libstd.so",
"lib/librustrt.so", "librustllvm.so", "lib/intrinsics.bc"],
"macos": ["rustc", "lib/glue.o", "lib/libstd.dylib",