Skip to content

Commit a82aeb7

Browse files
committed
Register new snapshots
Also finish transition of snapshot scripts for new glue.o location
1 parent 8655349 commit a82aeb7

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

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 & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ def scrub(b):
1515
download_dir_base = "dl"
1616
download_unpack_base = os.path.join(download_dir_base, "unpack")
1717

18-
# FIXME: This is transitional for moving glue.o to the lib directory
19-
old_snapshot_files = {
20-
"linux": ["rustc", "glue.o", "lib/libstd.so" ],
21-
"macos": ["rustc", "glue.o", "lib/libstd.dylib" ],
22-
"winnt": ["rustc.exe", "glue.o", "lib/std.dll" ]
23-
}
24-
2518
snapshot_files = {
2619
"linux": ["rustc", "lib/glue.o", "lib/libstd.so" ],
2720
"macos": ["rustc", "lib/glue.o", "lib/libstd.dylib" ],

src/snapshots.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
S 2011-06-29 8655349
2+
linux-i386 23313e17a4535fb484f4c26f0d1e38622a43e78e
3+
macos-i386 bd5c9c5dcf71fd9767ae47009c45714dd32982ba
4+
winnt-i386 6c769bf178a9b655fc25df8b432141cbdb11b5ee
5+
16
S 2011-06-17 175fd8e
27
linux-i386 ba92b05deee82f2d8f954cf014de1faec1167e36
38
macos-i386 6bacf4769deda26b614b4ba36bcb46f65649cce0

0 commit comments

Comments
 (0)