Build the stage1 compiler against the newly built librustrt.

This commit is contained in:
Michael Sullivan 2011-07-21 16:11:35 -07:00
parent c62a9fec77
commit bdbac006dc
5 changed files with 21 additions and 29 deletions

View file

@ -9,7 +9,7 @@ def unpack_snapshot(snap):
print("opening snapshot " + dl_path)
tar = tarfile.open(dl_path)
kernel = get_kernel()
for name in old_snapshot_files[kernel]:
for name in snapshot_files[kernel]:
p = "rust-stage0/" + name
fp = os.path.join("stage0", name)
print("extracting " + fp)

View file

@ -23,14 +23,6 @@ snapshot_files = {
"winnt": ["rustc.exe", "lib/glue.o", "lib/std.dll",
"rustrt.dll", "rustllvm.dll", "lib/intrinsics.bc"]
}
old_snapshot_files = {
"linux": ["rustc", "lib/glue.o", "lib/libstd.so",
"lib/librustrt.so", "librustllvm.so", "lib/intrinsics.bc"],
"macos": ["rustc", "lib/glue.o", "lib/libstd.dylib",
"lib/librustrt.dylib", "librustllvm.dylib", "lib/intrinsics.bc"],
"winnt": ["rustc.exe", "lib/glue.o", "lib/std.dll",
"lib/rustrt.dll", "rustllvm.dll", "lib/intrinsics.bc"]
}
def parse_line(n, line):
global snapshotfile