Change snapshot logic to archive glue.o from the lib directory
This commit is contained in:
parent
cd799a0a7a
commit
865534978f
@ -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)
|
||||
|
@ -15,10 +15,17 @@ download_url_base = "http://dl.rust-lang.org/stage0-snapshots"
|
||||
download_dir_base = "dl"
|
||||
download_unpack_base = os.path.join(download_dir_base, "unpack")
|
||||
|
||||
snapshot_files = {
|
||||
# FIXME: This is transitional for moving glue.o to the lib directory
|
||||
old_snapshot_files = {
|
||||
"linux": ["rustc", "glue.o", "lib/libstd.so" ],
|
||||
"macos": ["rustc", "glue.o", "lib/libstd.dylib" ],
|
||||
"winnt": ["rustc.exe", "glue.o", "lib/std.dll" ]
|
||||
}
|
||||
|
||||
snapshot_files = {
|
||||
"linux": ["rustc", "lib/glue.o", "lib/libstd.so" ],
|
||||
"macos": ["rustc", "lib/glue.o", "lib/libstd.dylib" ],
|
||||
"winnt": ["rustc.exe", "lib/glue.o", "lib/std.dll" ]
|
||||
}
|
||||
|
||||
def parse_line(n, line):
|
||||
|
Loading…
Reference in New Issue
Block a user