Register new snapshots. Update location of stage0's libstd
This commit is contained in:
parent
e0afcb400b
commit
bd93e1abcd
7 changed files with 15 additions and 17 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -21,15 +21,6 @@ snapshot_files = {
|
|||
"winnt": ["rustc.exe", "glue.o", "lib/std.dll" ]
|
||||
}
|
||||
|
||||
# This is a transitional list of files so that the unpacker knows to
|
||||
# use the old directory layout and the snapshotter knows to use the
|
||||
# new directory layout
|
||||
old_snapshot_files = {
|
||||
"linux": ["rustc", "glue.o", "libstd.so" ],
|
||||
"macos": ["rustc", "glue.o", "libstd.dylib" ],
|
||||
"winnt": ["rustc.exe", "glue.o", "std.dll" ]
|
||||
}
|
||||
|
||||
def parse_line(n, line):
|
||||
global snapshotfile
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue