Skip to content

Commit 1536b1f

Browse files
committed
---
yaml --- r: 3696 b: refs/heads/master c: 94f782e h: refs/heads/master v: v3
1 parent f96bf13 commit 1536b1f

File tree

5 files changed

+8
-21
lines changed

5 files changed

+8
-21
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: 64595a53f826b0fd8890707d0e63c119116f2a27
2+
refs/heads/master: 94f782e6a1e14b9eb89dd0429c4ad8f0e7ba0cf2

trunk/mk/stage0.mk

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
# FIXME: Copying rt and rustllvm to stage0 is transitional until the snapshot
2-
# that begins including them
3-
stage0/lib/$(CFG_RUNTIME): rt/$(CFG_RUNTIME)
4-
@$(call E, cp: $@)
5-
$(Q)cp $< $@
6-
7-
stage0/lib/$(CFG_RUSTLLVM): rustllvm/$(CFG_RUSTLLVM)
8-
@$(call E, cp: $@)
9-
$(Q)cp $< $@
10-
11-
stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES) \
12-
stage0/lib/$(CFG_RUNTIME) stage0/lib/$(CFG_RUSTLLVM)
1+
stage0/rustc$(X): $(S)src/snapshots.txt $(S)src/etc/get-snapshot.py $(MKFILES)
132
@$(call E, fetch: $@)
143
$(Q)$(S)src/etc/get-snapshot.py
154
$(Q)touch $@

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

trunk/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 rt/rustllvm into the snapshot
19-
old_snapshot_files = {
20-
"linux": ["rustc", "lib/glue.o", "lib/libstd.so", "lib/libstd.rlib" ],
21-
"macos": ["rustc", "lib/glue.o", "lib/libstd.dylib", "lib/libstd.rlib" ],
22-
"winnt": ["rustc.exe", "lib/glue.o", "lib/std.dll", "lib/libstd.rlib" ]
23-
}
24-
2518
snapshot_files = {
2619
"linux": ["rustc", "lib/glue.o", "lib/libstd.so", "lib/libstd.rlib",
2720
"lib/librustrt.so", "lib/librustllvm.so"],

trunk/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-07 64595a5
2+
linux-i386 bd5837c265e2f07034f01c016298aefa5697e3a5
3+
macos-i386 6292b0c12e24f51b0270a6d07d3ed18ffe5c3143
4+
winnt-i386 07e72b6b74542f235a62a486984e4d2ea2970dfd
5+
16
S 2011-07-07 6ee1ffe
27
linux-i386 5080aaffc36748f41fa8bf8030ef5a51976e673f
38
macos-i386 34db4f38c40ef5e7d08eb3e994def595297589bb

0 commit comments

Comments
 (0)