]> git.lizzy.rs Git - rust.git/commit
mk: Add --enable-local-rebuild to bootstrap from the current release
authorJosh Stone <cuviper@gmail.com>
Sat, 21 May 2016 23:36:25 +0000 (16:36 -0700)
committerJosh Stone <cuviper@gmail.com>
Sun, 22 May 2016 07:09:33 +0000 (00:09 -0700)
commit3406c55144339dea81839adc9addd931e068084a
treec0b12c827943382bc01269634f43949248ce0f95
parent14d6a10c597a5f1f95a2f0125a87e2107b5d80ff
mk: Add --enable-local-rebuild to bootstrap from the current release

In Linux distributions, it is often necessary to rebuild packages for
cases like applying new patches or linking against new system libraries.
In this scenario, the rustc in the distro build environment may already
match the current release that we're trying to rebuild.  Thus we don't
want to use the prior release's bootstrap key, nor `--cfg stage0` for
the prior unstable features.

The new `configure --enable-local-rebuild` option specifies that we are
rebuilding from the current release.  The current bootstrap key is used
for the local rustc, and current stage1 features are also assumed.
configure
mk/main.mk