Skip to content

Commit 6a55f4f

Browse files
committedApr 7, 2016
Auto merge of #32787 - Manishearth:rollup, r=Manishearth
Rollup of 11 pull requests - Successful merges: #32016, #32583, #32699, #32729, #32731, #32738, #32741, #32745, #32748, #32757, #32786 - Failed merges: #32773
2 parents a9f34c8 + 903b4c2 commit 6a55f4f

File tree

189 files changed

+1307
-800
lines changed

Some content is hidden

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

189 files changed

+1307
-800
lines changed
 

‎configure

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -717,18 +717,6 @@ if [ -n "$CFG_ENABLE_DEBUG_JEMALLOC" ]; then putvar CFG_ENABLE_DEBUG_JEMALLOC; f
717717

718718
if [ -n "$CFG_ENABLE_ORBIT" ]; then putvar CFG_ENABLE_ORBIT; fi
719719

720-
# A magic value that allows the compiler to use unstable features
721-
# during the bootstrap even when doing so would normally be an error
722-
# because of feature staging or because the build turns on
723-
# warnings-as-errors and unstable features default to warnings. The
724-
# build has to match this key in an env var. Meant to be a mild
725-
# deterrent from users just turning on unstable features on the stable
726-
# channel.
727-
# Basing CFG_BOOTSTRAP_KEY on CFG_BOOTSTRAP_KEY lets it get picked up
728-
# during a Makefile reconfig.
729-
CFG_BOOTSTRAP_KEY="${CFG_BOOTSTRAP_KEY-`date +%H:%M:%S`}"
730-
putvar CFG_BOOTSTRAP_KEY
731-
732720
step_msg "looking for build programs"
733721

734722
probe_need CFG_CURLORWGET curl wget

‎mk/main.mk

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ CFG_PRERELEASE_VERSION=.1
2424
# versions in the same place
2525
CFG_FILENAME_EXTRA=$(shell printf '%s' $(CFG_RELEASE)$(CFG_EXTRA_FILENAME) | $(CFG_HASH_COMMAND))
2626

27+
# A magic value that allows the compiler to use unstable features during the
28+
# bootstrap even when doing so would normally be an error because of feature
29+
# staging or because the build turns on warnings-as-errors and unstable features
30+
# default to warnings. The build has to match this key in an env var.
31+
#
32+
# This value is keyed off the release to ensure that all compilers for one
33+
# particular release have the same bootstrap key. Note that this is
34+
# intentionally not "secure" by any definition, this is largely just a deterrent
35+
# from users enabling unstable features on the stable compiler.
36+
CFG_BOOTSTRAP_KEY=$(CFG_FILENAME_EXTRA)
37+
2738
ifeq ($(CFG_RELEASE_CHANNEL),stable)
2839
# This is the normal semver version string, e.g. "0.12.0", "0.12.0-nightly"
2940
CFG_RELEASE=$(CFG_RELEASE_NUM)

0 commit comments

Comments
 (0)