You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#34779 - infinity0:master, r=alexcrichton
If local-rust is the same as the current version, then force a local-rebuild
In Debian, we would like the option to build/rebuild the current release from
*either* the current or previous stable release. So we use enable-local-rust
instead of enable-local-rebuild, and read the bootstrap key dynamically from
whatever is installed locally.
In general, it does not make much sense to allow enable-local-rust without also
setting the bootstrap key, since the build would fail otherwise.
(The way I detect "the bootstrap key of [the local] rustc installation" is a bit hacky, suggestions welcome.)
opt fast-make 0 "use .gitmodules as timestamp for submodule deps"
601
601
opt ccache 0 "invoke gcc/clang via ccache to reuse object files between builds"
602
602
opt local-rust 0 "use an installed rustc rather than downloading a snapshot"
603
-
opt local-rebuild 0 "use an installed rustc matching the current version, for rebuilds"
603
+
opt local-rebuild 0 "assume local-rust matches the current version, for rebuilds; implies local-rust, and is implied if local-rust already matches the current version"
604
604
opt llvm-static-stdcpp 0 "statically link to libstdc++ for LLVM"
605
605
opt rpath 1 "build rpaths into rustc itself"
606
606
opt stage0-landing-pads 1 "enable landing pads during bootstrap with stage0"
0 commit comments