Skip to content

Commit 9f6d27c

Browse files
committed
auto merge of #17135 : brson/rust/wininst, r=alexcrichton
This builds on #17109, putting the target triple into the installer name so that we can have both 32-bit and 64-bit. The resulting installers will be called `rust-0.12.0-pre-x86_64-w64-mingw32.exe`, etc.
2 parents 716db00 + 5206e79 commit 9f6d27c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mk/dist.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ distcheck-tar-src: dist-tar-src
112112

113113
ifdef CFG_ISCC
114114

115-
PKG_EXE = dist/$(PKG_NAME)-install.exe
115+
PKG_EXE = dist/$(PKG_NAME)-$(CFG_BUILD).exe
116116

117117
%.iss: $(S)src/etc/pkg/%.iss
118118
cp $< $@

src/etc/pkg/rust.iss

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#define CFG_VERSION_WIN GetEnv("CFG_VERSION_WIN")
22
#define CFG_RELEASE GetEnv("CFG_RELEASE")
33
#define CFG_PACKAGE_NAME GetEnv("CFG_PACKAGE_NAME")
4+
#define CFG_BUILD GetEnv("CFG_BUILD")
45

56
[Setup]
67

@@ -20,7 +21,7 @@ DisableStartupPrompt=true
2021

2122
OutputDir=.\dist\
2223
SourceDir=.\
23-
OutputBaseFilename={#CFG_PACKAGE_NAME}-install
24+
OutputBaseFilename={#CFG_PACKAGE_NAME}-{#CFG_BUILD}
2425
DefaultDirName={pf32}\Rust
2526

2627
Compression=lzma2/ultra

0 commit comments

Comments
 (0)