Skip to content

Commit ac68f8f

Browse files
committed
---
yaml --- r: 95196 b: refs/heads/dist-snap c: d9d1dfc h: refs/heads/master v: v3
1 parent ae411b4 commit ac68f8f

File tree

116 files changed

+2503
-3925
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+2503
-3925
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 0c388be8d1988a966ef62c545b996b9da0f71e93
9+
refs/heads/dist-snap: d9d1dfc1955fabb7ee3a55e9c84cdcd5aad67417
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/mk/dist.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ LICENSE.txt: $(S)COPYRIGHT $(S)LICENSE-APACHE $(S)LICENSE-MIT
6060

6161
$(PKG_EXE): rust.iss modpath.iss LICENSE.txt rust-logo.ico \
6262
$(PKG_FILES) $(CSREQ3_T_$(CFG_BUILD_TRIPLE)_H_$(CFG_BUILD_TRIPLE))
63-
$(CFG_PYTHON) $(S)src/etc/copy-runtime-deps.py i686-pc-mingw32/stage3/bin
6463
@$(call E, ISCC: $@)
6564
$(Q)"$(CFG_ISCC)" $<
6665
endif

branches/dist-snap/src/etc/copy-runtime-deps.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

branches/dist-snap/src/etc/get-snapshot.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ def unpack_snapshot(triple, dl_path):
2626
print("extracting " + p)
2727
tar.extract(p, download_unpack_base)
2828
tp = os.path.join(download_unpack_base, p)
29-
if os.path.isdir(tp) and os.path.exists(fp):
30-
continue
3129
shutil.move(tp, fp)
3230
tar.close()
3331
shutil.rmtree(download_unpack_base)

branches/dist-snap/src/etc/pkg/rust.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ DisableStartupPrompt=true
1919

2020
OutputDir=.\
2121
SourceDir=.\
22-
OutputBaseFilename=rust-{#CFG_VERSION_WIN}-install
22+
OutputBaseFilename=rust-{#CFG_VERSION}-install
2323
DefaultDirName={pf32}\Rust
2424

2525
Compression=lzma2/ultra

branches/dist-snap/src/etc/snapshot.py

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ def scrub(b):
5555
"lib/librustllvm.so"]
5656
}
5757

58-
winnt_runtime_deps = ["libgcc_s_dw2-1.dll",
59-
"libstdc++-6.dll",
60-
"libpthread-2.dll"]
61-
6258
def parse_line(n, line):
6359
global snapshotfile
6460

@@ -159,19 +155,6 @@ def hash_file(x):
159155
h.update(open(x, "rb").read())
160156
return scrub(h.hexdigest())
161157

162-
# Returns a list of paths of Rust's system runtime dependencies
163-
def get_winnt_runtime_deps():
164-
runtime_deps = []
165-
path_dirs = os.environ["PATH"].split(';')
166-
for name in winnt_runtime_deps:
167-
for dir in path_dirs:
168-
matches = glob.glob(os.path.join(dir, name))
169-
if matches:
170-
runtime_deps.append(matches[0])
171-
break
172-
else:
173-
raise Exception("Could not find runtime dependency: %s" % name)
174-
return runtime_deps
175158

176159
def make_snapshot(stage, triple):
177160
kernel = get_kernel(triple)
@@ -187,7 +170,6 @@ def in_tar_name(fn):
187170
return os.sep.join(cs[-2:])
188171

189172
tar = tarfile.open(file0, "w:bz2")
190-
191173
for name in snapshot_files[kernel]:
192174
dir = stage
193175
if stage == "stage1" and re.match(r"^lib/(lib)?std.*", name):
@@ -199,15 +181,8 @@ def in_tar_name(fn):
199181
if len(matches) == 1:
200182
tar.add(matches[0], "rust-stage0/" + in_tar_name(matches[0]))
201183
else:
202-
raise Exception("Found stale files: \n %s\n"
203-
"Please make a clean build." % "\n ".join(matches))
204-
205-
if kernel=="winnt":
206-
for path in get_winnt_runtime_deps():
207-
tar.add(path, "rust-stage0/bin/" + os.path.basename(path))
208-
tar.add(os.path.join(os.path.dirname(__file__), "third-party"),
209-
"rust-stage0/bin/third-party")
210-
184+
raise Exception("Found stale files: \n %s\n\
185+
Please make a clean build." % "\n ".join(matches))
211186
tar.close()
212187

213188
h = hash_file(file0)

0 commit comments

Comments
 (0)