about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-24 20:00:51 +0000
committerbors <bors@rust-lang.org>2022-09-24 20:00:51 +0000
commit3f83906b30798bf61513fa340524cebf6676f9db (patch)
treec7e568db9922ce3943314d10c406923c2322db49 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent6580010551063718462f9dfe41c9490d92994d0e (diff)
parent2ef3d172c4c574bd58abca0e8bbe7548c313c60b (diff)
downloadrust-3f83906b30798bf61513fa340524cebf6676f9db.tar.gz
rust-3f83906b30798bf61513fa340524cebf6676f9db.zip
Auto merge of #98483 - dvtkrlbs:bootstrap-dist, r=jyn514
Distribute bootstrap in CI

This pre-compiles bootstrap from source and adds it to the existing `rust-dev` component. There are two main goals here:
1. Make it faster to build rust from source, both the first time and incrementally
2. Make it easier to add non-python entrypoints, since they can call out to bootstrap directly rather than having to figure out the right flags to pre-compile it. This second part is still in a bit of flux, see the tracking issue below for more information.

There are also several changes to make bootstrap able to run on a machine other than the one it was built (particularly around `config.src` and `config.out` detection). I (`@jyn514)` am slightly concerned these will regress unless tested - maybe we should add an automated test that runs bootstrap in a chroot or something? Unclear whether the effort is worth the test coverage.

Helps with https://github.com/rust-lang/rust/issues/94829.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions