auto merge of #17135 : brson/rust/wininst, r=alexcrichton
This builds on https://github.com/rust-lang/rust/pull/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.
This commit is contained in:
commit
9f6d27c39f
@ -112,7 +112,7 @@ distcheck-tar-src: dist-tar-src
|
||||
|
||||
ifdef CFG_ISCC
|
||||
|
||||
PKG_EXE = dist/$(PKG_NAME)-install.exe
|
||||
PKG_EXE = dist/$(PKG_NAME)-$(CFG_BUILD).exe
|
||||
|
||||
%.iss: $(S)src/etc/pkg/%.iss
|
||||
cp $< $@
|
||||
|
@ -1,6 +1,7 @@
|
||||
#define CFG_VERSION_WIN GetEnv("CFG_VERSION_WIN")
|
||||
#define CFG_RELEASE GetEnv("CFG_RELEASE")
|
||||
#define CFG_PACKAGE_NAME GetEnv("CFG_PACKAGE_NAME")
|
||||
#define CFG_BUILD GetEnv("CFG_BUILD")
|
||||
|
||||
[Setup]
|
||||
|
||||
@ -20,7 +21,7 @@ DisableStartupPrompt=true
|
||||
|
||||
OutputDir=.\dist\
|
||||
SourceDir=.\
|
||||
OutputBaseFilename={#CFG_PACKAGE_NAME}-install
|
||||
OutputBaseFilename={#CFG_PACKAGE_NAME}-{#CFG_BUILD}
|
||||
DefaultDirName={pf32}\Rust
|
||||
|
||||
Compression=lzma2/ultra
|
||||
|
Loading…
x
Reference in New Issue
Block a user