File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def unpack_snapshot(snap):
9
9
print ("opening snapshot " + dl_path )
10
10
tar = tarfile .open (dl_path )
11
11
kernel = get_kernel ()
12
- for name in snapshot_files [kernel ]:
12
+ for name in old_snapshot_files [kernel ]:
13
13
p = "rust-stage0/" + name
14
14
fp = os .path .join ("stage0" , name )
15
15
print ("extracting " + fp )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def scrub(b):
15
15
download_dir_base = "dl"
16
16
download_unpack_base = os .path .join (download_dir_base , "unpack" )
17
17
18
- snapshot_files = {
18
+ old_snapshot_files = {
19
19
"linux" : ["bin/rustc" , "lib/libstd.so" ,
20
20
"lib/librustrt.so" , "lib/librustllvm.so" ],
21
21
"macos" : ["bin/rustc" , "lib/libstd.dylib" ,
@@ -24,6 +24,15 @@ def scrub(b):
24
24
"lib/rustrt.dll" , "lib/rustllvm.dll" ]
25
25
}
26
26
27
+ snapshot_files = {
28
+ "linux" : ["bin/rustc" , "lib/libruststd.so" ,
29
+ "lib/librustrt.so" , "lib/librustllvm.so" ],
30
+ "macos" : ["bin/rustc" , "lib/libruststd.dylib" ,
31
+ "lib/librustrt.dylib" , "lib/librustllvm.dylib" ],
32
+ "winnt" : ["bin/rustc.exe" , "lib/ruststd.dll" ,
33
+ "lib/rustrt.dll" , "lib/rustllvm.dll" ]
34
+ }
35
+
27
36
def parse_line (n , line ):
28
37
global snapshotfile
29
38
You can’t perform that action at this time.
0 commit comments