Skip to content

Commit 5d2e565

Browse files
committed
auto merge of #7437 : brson/rust/winver, r=brson
r? @graydon (or anybody)
2 parents f44b951 + 6511fe4 commit 5d2e565

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

Makefile.in

+4
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ endif
141141
CFG_GIT_DIR := $(CFG_SRC_DIR).git
142142
CFG_RELEASE = 0.7-pre
143143
CFG_VERSION = $(CFG_RELEASE)
144+
# windows exe's need numeric versions - don't use anything but
145+
# numbers and dots here
146+
CFG_VERSION_WIN = 0.7
144147

145148
ifneq ($(wildcard $(CFG_GIT)),)
146149
ifneq ($(wildcard $(CFG_GIT_DIR)),)
@@ -311,6 +314,7 @@ $(foreach host,$(CFG_HOST_TRIPLES), \
311314
export CFG_SRC_DIR
312315
export CFG_BUILD_DIR
313316
export CFG_VERSION
317+
export CFG_VERSION_WIN
314318
export CFG_BUILD_TRIPLE
315319
export CFG_LLVM_ROOT
316320
export CFG_ENABLE_MINGW_CROSS

mk/dist.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ LICENSE.txt: $(S)COPYRIGHT $(S)LICENSE-APACHE $(S)LICENSE-MIT
5757
cp $< $@
5858

5959
$(PKG_EXE): rust.iss modpath.iss LICENSE.txt rust-logo.ico \
60-
$(PKG_FILES) all rustc-stage3
60+
$(PKG_FILES) $(CSREQ3_T_$(CFG_BUILD_TRIPLE)_H_$(CFG_BUILD_TRIPLE))
6161
@$(call E, ISCC: $@)
6262
$(Q)"$(CFG_ISCC)" $<
6363
endif

mk/tools.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ $(foreach host,$(CFG_HOST_TRIPLES), \
191191
$(foreach target,$(CFG_TARGET_TRIPLES), \
192192
$(eval $(call TOOLS_STAGE_N_TARGET,0,1,$(host),$(target))) \
193193
$(eval $(call TOOLS_STAGE_N_TARGET,1,2,$(host),$(target))) \
194-
$(eval $(call TOOLS_STAGE_N_TARGET,2,3,$(host),$(target)))))
194+
$(eval $(call TOOLS_STAGE_N_TARGET,2,3,$(host),$(target))) \
195+
$(eval $(call TOOLS_STAGE_N_TARGET,3,bogus,$(host),$(target)))))
195196

196197
$(foreach host,$(CFG_HOST_TRIPLES), \
197198
$(eval $(call TOOLS_STAGE_N_HOST,0,1,$(host),$(host))) \

src/etc/pkg/rust.iss

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#define CFG_VERSION GetEnv("CFG_VERSION")
2+
#define CFG_VERSION_WIN GetEnv("CFG_VERSION_WIN")
23

34
[Setup]
45

@@ -8,7 +9,7 @@ AppVersion={#CFG_VERSION}
89
AppCopyright=Copyright (C) 2006-2013 Mozilla Foundation, MIT license
910
AppPublisher=Mozilla Foundation
1011
AppPublisherURL=http://www.rust-lang.org
11-
VersionInfoVersion={#CFG_VERSION}
12+
VersionInfoVersion={#CFG_VERSION_WIN}
1213
LicenseFile=LICENSE.txt
1314

1415
DisableWelcomePage=true

0 commit comments

Comments
 (0)