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):
99 print ("opening snapshot " + dl_path )
1010 tar = tarfile .open (dl_path )
1111 kernel = get_kernel ()
12- for name in snapshot_files [kernel ]:
12+ for name in old_snapshot_files [kernel ]:
1313 p = "rust-stage0/" + name
1414 fp = os .path .join ("stage0" , name )
1515 print ("extracting " + fp )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def scrub(b):
1515download_dir_base = "dl"
1616download_unpack_base = os .path .join (download_dir_base , "unpack" )
1717
18- snapshot_files = {
18+ old_snapshot_files = {
1919 "linux" : ["bin/rustc" , "lib/libstd.so" ,
2020 "lib/librustrt.so" , "lib/librustllvm.so" ],
2121 "macos" : ["bin/rustc" , "lib/libstd.dylib" ,
@@ -24,6 +24,15 @@ def scrub(b):
2424 "lib/rustrt.dll" , "lib/rustllvm.dll" ]
2525 }
2626
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+
2736def parse_line (n , line ):
2837 global snapshotfile
2938
You can’t perform that action at this time.
0 commit comments