Skip to content

Commit f6877b3

Browse files
author
blake2-ppc
committed
---
yaml --- r: 81394 b: refs/heads/snap-stage3 c: 87294c2 h: refs/heads/master v: v3
1 parent 8c416fc commit f6877b3

Some content is hidden

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

59 files changed

+676
-2400
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 4c6bf4872012c010f84dc7fa2cdfe87522533f89
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: ade57d9f5827f0753cd0acee025f830a5256a78a
4+
refs/heads/snap-stage3: 87294c23baacaee17a13d2f7316fffc76239cff5
55
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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/snap-stage3/src/etc/copy-runtime-deps.py

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

branches/snap-stage3/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/snap-stage3/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)

branches/snap-stage3/src/etc/third-party/COPYING.LIB

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

branches/snap-stage3/src/etc/third-party/COPYING.RUNTIME

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

0 commit comments

Comments
 (0)