Skip to content

Commit 5a2c729

Browse files
committed
---
yaml --- r: 3476 b: refs/heads/master c: 8655349 h: refs/heads/master v: v3
1 parent b456ce0 commit 5a2c729

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: cd799a0a7a06cdef8c56fa4cbb66d7a8f64bc879
2+
refs/heads/master: 865534978fdd9da9cc5dd1dbf608206810bc8dee

trunk/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 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)

trunk/src/etc/snapshot.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,17 @@ def scrub(b):
1515
download_dir_base = "dl"
1616
download_unpack_base = os.path.join(download_dir_base, "unpack")
1717

18-
snapshot_files = {
18+
# FIXME: This is transitional for moving glue.o to the lib directory
19+
old_snapshot_files = {
1920
"linux": ["rustc", "glue.o", "lib/libstd.so" ],
2021
"macos": ["rustc", "glue.o", "lib/libstd.dylib" ],
2122
"winnt": ["rustc.exe", "glue.o", "lib/std.dll" ]
23+
}
24+
25+
snapshot_files = {
26+
"linux": ["rustc", "lib/glue.o", "lib/libstd.so" ],
27+
"macos": ["rustc", "lib/glue.o", "lib/libstd.dylib" ],
28+
"winnt": ["rustc.exe", "lib/glue.o", "lib/std.dll" ]
2229
}
2330

2431
def parse_line(n, line):

0 commit comments

Comments
 (0)