Skip to content

Commit 99a95b3

Browse files
committed
Use new snapshot.
1 parent 9427864 commit 99a95b3

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

mk/stage0.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ stage0/lib/$(CFG_STDLIB): stage0/rustc$(X)
1414
stage0/intrinsics.bc: stage0/rustc$(X)
1515
$(Q)touch $@
1616

17-
stage0/lib/$(CFG_RUSTLLVM): stage0/rustc$(X)
17+
stage0/$(CFG_RUSTLLVM): stage0/rustc$(X)
1818
$(Q)touch $@
1919

2020
stage0/lib/$(CFG_RUNTIME): stage0/rustc$(X)

src/etc/get-snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 old_snapshot_files[kernel]:
12+
for name in snapshot_files[kernel]:
1313
p = "rust-stage0/" + name
1414
fp = os.path.join("stage0", name)
1515
print("extracting " + fp)

src/etc/snapshot.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ def scrub(b):
1515
download_dir_base = "dl"
1616
download_unpack_base = os.path.join(download_dir_base, "unpack")
1717

18-
old_snapshot_files = {
19-
"linux": ["rustc", "lib/glue.o", "lib/libstd.so", "lib/libstd.rlib",
20-
"lib/librustrt.so", "lib/librustllvm.so", "intrinsics.bc"],
21-
"macos": ["rustc", "lib/glue.o", "lib/libstd.dylib", "lib/libstd.rlib",
22-
"lib/librustrt.dylib", "lib/librustllvm.dylib", "intrinsics.bc"],
23-
"winnt": ["rustc.exe", "lib/glue.o", "lib/std.dll", "lib/libstd.rlib",
24-
"lib/rustrt.dll", "lib/rustllvm.dll", "intrinsics.bc"]
25-
}
26-
2718
snapshot_files = {
2819
"linux": ["rustc", "lib/glue.o", "lib/libstd.so", "lib/libstd.rlib",
2920
"lib/librustrt.so", "librustllvm.so", "intrinsics.bc"],

src/snapshots.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
S 2011-07-11 a84310a
2+
linux-i386 18e6caa490241d63ede86d289e6553bfa1c58953
3+
macos-i386 e775077d87e508020d8e0282f944d66c89cae630
4+
winnt-i386 5f428071e8dbacbf641e5ef006f3e9db51fd3ee8
5+
16
S 2011-07-11 f666c97
27
linux-i386 434346526e3feecf80ceb58f132fb4ea6cbfec0a
38
macos-i386 f643f88b1414bf43c1821a9d3eea0bdc8df2f68d

0 commit comments

Comments
 (0)