• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:bootstrap

1 # rustbuild - Bootstrapping Rust
3 This is an in-progress README which is targeted at helping to explain how Rust
8 Please check [bootstrapping dev guide][bootstrapping-dev-guide] for further information.
10 [bootstrapping-dev-guide]: https://rustc-dev-guide.rust-lang.org/building/bootstrapping.html
20 parallel. Note, though, that the `-j` parameter to rustbuild gets forwarded
29 `x.py` cross-platform) is run. This script is responsible for downloading the stage0
31 Finally, it then invokes the actual `bootstrap` binary build system.
32 2. In Rust, `bootstrap` will slurp up all configuration, perform a number of
56 2015-12-19/
57 2016-01-15/
58 2016-01-21/
63 bootstrap/
67 # Output of the dist-related steps like dist-std, dist-rustc, and dist-docs
75 x86_64-unknown-linux-gnu/
77 # The build artifacts for the `compiler-rt` library for the target that
81 compiler-rt/
87 # build folder (e.g. the platform-specific build system). Like with
88 # compiler-rt, this is compiled with CMake
103 # Output for all compiletest-based test suites
111 # by the bootstrap python script). In theory, the build system does not
115 # These to-build directories are the cargo output directories for builds of
123 stageN-std/
124 stageN-test/
125 stageN-rustc/
126 stageN-tools/
131 # inside of stage0/. When we run the stage0 compiler to bootstrap more
140 stage0-sysroot/lib/
144 # system will link (using hard links) output from stageN-{std,rustc} into
156 When you use the bootstrap system, you'll call it through the entry point script
157 (`x`, `x.ps1`, or `x.py`). However, most of the code lives in `src/bootstrap`.
158 `bootstrap` has a difficult problem: it is written in Rust, but yet it is run
160 of bootstrap: the main one written in rust, and `bootstrap.py`. `bootstrap.py`
162 compiler, which will then build the bootstrap binary written in Rust.
165 be kept in sync. In particular, both `bootstrap.py` and the bootstrap binary
166 parse `config.toml` and read the same command line arguments. `bootstrap.py`
173 * Adding a new build tool? Take a look at `bootstrap/tool.rs` for examples of
180 * Adding a new configuration option? You'll want to modify `bootstrap/flags.rs`
181 for command line flags and then `bootstrap/config.rs` to copy the flags to the
183 * Adding a sanity check? Take a look at `bootstrap/sanity.rs`.
187 + Update `VERSION` in `src/bootstrap/main.rs`.
188 * Update `changelog-seen = N` in `config.example.toml`.
189 * Add an entry in `src/bootstrap/CHANGELOG.md`.
199 If you have any questions, feel free to reach out on the `#t-infra/bootstrap` channel
200 at [Rust Bootstrap Zulip server][rust-bootstrap-zulip]. When you encounter bugs,
201 please file issues on the [Rust issue tracker][rust-issue-tracker].
203 [rust-bootstrap-zulip]: https://rust-lang.zulipchat.com/#narrow/stream/t-infra.2Fbootstrap
204 [rust-issue-tracker]: https://github.com/rust-lang/rust/issues