about summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
2025-07-07Add change tracker entry for disabling `download-rustc` temporarilyJieyou Xu-0/+5
2025-07-07Disable download-rustc for library profilenora-1/+2
The feature currently completely breaks `x test`, core functionality of working on the standard library. Therefore it should be disabled by default until that problem is fixed. Having to wait a bit longer for a check build is nothing compared to completely mysterious build errors when testing.
2025-07-06Do not ever cross-check bootstrap toolsJakub Beránek-2/+7
2025-07-06Fix CIJakub Beránek-1/+1
2025-07-06Horrible hack to make codegen backends "work" during checkJakub Beránek-11/+32
2025-07-06Add support for allowing features when checking toolsJakub Beránek-2/+15
2025-07-06Use stage auto-bump when cross-checking on stage 1Jakub Beránek-17/+14
2025-07-06Add `#[tracing::instrument]` to the LLVM build stepJakub Beránek-0/+9
2025-07-06Update library cross-compilation testJakub Beránek-3/+2
2025-07-06Update `Mode::ToolStd` commentJakub Beránek-2/+7
2025-07-06Add staging comment to `check::Rustc`Jakub Beránek-0/+2
2025-07-06Add change tracker entryJakub Beránek-0/+5
2025-07-06Unify selection of build compiler for checking in a single functionJakub Beránek-48/+47
2025-07-06Implement `CoverageDump` checking through the `tool_check_step` macroJakub Beránek-66/+5
2025-07-06Fixup check of rust-analyzer, codegen backends, compiletest and other toolsZalathar-64/+113
2025-07-06Make build compiler explicit in `check::Rustc` and `check::Std`Jakub Beránek-73/+87
2025-07-06Remove `custom_stage` override from `check::Std` and make 1 be the default ↵Jakub Beránek-54/+11
check stage for it
2025-07-06Make default check stage be 1, and error out on checking with stage 0Jakub Beránek-5/+11
2025-07-06Auto merge of #143521 - matthiaskrgr:rollup-kpv1og3, r=matthiaskrgrbors-0/+5
Rollup of 6 pull requests Successful merges: - rust-lang/rust#143416 (mbe: Defer checks for `compile_error!` until reporting an unused macro rule) - rust-lang/rust#143470 (std: sys: net: uefi: tcp4: Implement read) - rust-lang/rust#143477 (use `is_multiple_of` and `div_ceil`) - rust-lang/rust#143484 (distinguish the duplicate item of rpitit) - rust-lang/rust#143493 (tidy: use --bless for tidy spellcheck instead of spellcheck:fix) - rust-lang/rust#143504 (compiletest: print slightly more information on fs::write failure) r? `@ghost` `@rustbot` modify labels: rollup
2025-07-06Rollup merge of #143493 - lolbinarycat:tidy-spellcheck-bless, r=KobzolMatthias Krüger-0/+5
tidy: use --bless for tidy spellcheck instead of spellcheck:fix previous behavior was inconsistent with existing extra checks. unsure if this needs a change tracker entry or a warning for people who try to use the old behavior. unsure if we should call this `spellcheck:lint` for consistency. making this consistent is a prerequisite for https://github.com/rust-lang/rust/pull/143398 cc `@nnethercote` r? `@Kobzol`
2025-07-06Auto merge of #143354 - Shourya742:2025-07-03-bye-bye-as_mut-command, r=Kobzolbors-46/+76
Port streaming commands in bootstrap to `BootstrapCommand` and remove `as_command_mut` This PR adds streaming capabilities to BootstrapCommand and migrate existing command streaming scenario's used in bootstrap. r? `@Kobzol`
2025-07-05bootstrap: add change_tracker entry for removal of spellcheck:fixbinarycat-0/+5
2025-07-06restructure try_run_testsbit-aloo-18/+13
2025-07-05Auto merge of #143474 - jieyouxu:bootstrap-llvm-snapshot, r=Kobzolbors-0/+8
Pretend in bootstrap snapshot tests that we always build in-tree LLVM Otherwise, depending on whether CI LLVM is inhibited or if an externally-provided LLVM is used, bootstrap host LLVM build step could be missing in step snapshots. Note that I'm not sure if this is the *right* solution (this might be *a* solution). I imagine we do want to control for the set of configuration that these snapshot tests are run, as much as possible. r? `@Kobzol`
2025-07-05Pretend in bootstrap snapshot tests that we always build in-tree LLVMJieyou Xu-0/+8
2025-07-05make mark_as_executed privatebit-aloo-17/+5
2025-07-05migrate render test to new bootstrap command streaming API'sbit-aloo-11/+7
2025-07-05migrate cargo streaming to new bootstrap command streaming API'sbit-aloo-14/+11
2025-07-05add streaming command struct for (spawn + piping scenario)bit-aloo-10/+64
2025-07-04Unify completion list between `x test tidy` and `x run generate-completions`Jakub Beránek-32/+36
2025-07-04Rollup merge of #143288 - ehuss:fix-clean-fifo, r=KobzolJacob Pratt-1/+1
Fix `x clean` with a fifo `x clean` was failing when it encountered a special file like a fifo because it thought it was a directory.
2025-07-03Auto merge of #142857 - rust-lang:cargo_update, r=clubby789bors-1/+0
Weekly `cargo update` Automation to keep dependencies in `Cargo.lock` current. The following is the output from `cargo update`: ```txt compiler & tools dependencies: Locking 23 packages to latest compatible versions Updating anstyle-svg v0.1.8 -> v0.1.9 Updating autocfg v1.4.0 -> v1.5.0 Updating bumpalo v3.18.1 -> v3.19.0 Updating derive-where v1.4.0 -> v1.5.0 Updating errno v0.3.12 -> v0.3.13 Updating indexmap v2.9.0 -> v2.10.0 Updating libredox v0.1.3 -> v0.1.4 Updating owo-colors v4.2.1 -> v4.2.2 Updating pest v2.8.0 -> v2.8.1 Updating pest_derive v2.8.0 -> v2.8.1 Updating pest_generator v2.8.0 -> v2.8.1 Updating pest_meta v2.8.0 -> v2.8.1 Updating r-efi v5.2.0 -> v5.3.0 Updating rustc-build-sysroot v0.5.8 -> v0.5.9 Updating slab v0.4.9 -> v0.4.10 Updating syn v2.0.103 -> v2.0.104 Adding toml v0.8.23 Adding toml_edit v0.22.27 Adding toml_write v0.1.2 Updating tracing-attributes v0.1.29 -> v0.1.30 Updating xattr v1.5.0 -> v1.5.1 Updating zerocopy v0.8.25 -> v0.8.26 Updating zerocopy-derive v0.8.25 -> v0.8.26 note: pass `--verbose` to see 39 unchanged dependencies behind latest library dependencies: Locking 0 packages to latest compatible versions note: pass `--verbose` to see 3 unchanged dependencies behind latest rustbook dependencies: Locking 21 packages to latest compatible versions Updating autocfg v1.4.0 -> v1.5.0 Updating bumpalo v3.18.1 -> v3.19.0 Updating errno v0.3.12 -> v0.3.13 Updating indexmap v2.9.0 -> v2.10.0 Updating markup5ever v0.16.1 -> v0.16.2 Updating pest v2.8.0 -> v2.8.1 Updating pest_derive v2.8.0 -> v2.8.1 Updating pest_generator v2.8.0 -> v2.8.1 Updating pest_meta v2.8.0 -> v2.8.1 Updating r-efi v5.2.0 -> v5.3.0 Updating syn v2.0.103 -> v2.0.104 Adding windows-sys v0.60.2 Adding windows-targets v0.53.2 Adding windows_aarch64_gnullvm v0.53.0 Adding windows_aarch64_msvc v0.53.0 Adding windows_i686_gnu v0.53.0 Adding windows_i686_gnullvm v0.53.0 Adding windows_i686_msvc v0.53.0 Adding windows_x86_64_gnu v0.53.0 Adding windows_x86_64_gnullvm v0.53.0 Adding windows_x86_64_msvc v0.53.0 ```
2025-07-03cargo updategithub-actions-1/+0
compiler & tools dependencies: Locking 23 packages to latest compatible versions Updating anstyle-svg v0.1.8 -> v0.1.9 Updating autocfg v1.4.0 -> v1.5.0 Updating bumpalo v3.18.1 -> v3.19.0 Updating derive-where v1.4.0 -> v1.5.0 Updating errno v0.3.12 -> v0.3.13 Updating indexmap v2.9.0 -> v2.10.0 Updating libredox v0.1.3 -> v0.1.4 Updating owo-colors v4.2.1 -> v4.2.2 Updating pest v2.8.0 -> v2.8.1 Updating pest_derive v2.8.0 -> v2.8.1 Updating pest_generator v2.8.0 -> v2.8.1 Updating pest_meta v2.8.0 -> v2.8.1 Updating r-efi v5.2.0 -> v5.3.0 Updating rustc-build-sysroot v0.5.8 -> v0.5.9 Updating slab v0.4.9 -> v0.4.10 Updating syn v2.0.103 -> v2.0.104 Adding toml v0.8.23 Adding toml_edit v0.22.27 Adding toml_write v0.1.2 Updating tracing-attributes v0.1.29 -> v0.1.30 Updating xattr v1.5.0 -> v1.5.1 Updating zerocopy v0.8.25 -> v0.8.26 Updating zerocopy-derive v0.8.25 -> v0.8.26 note: pass `--verbose` to see 39 unchanged dependencies behind latest library dependencies: Locking 0 packages to latest compatible versions note: pass `--verbose` to see 3 unchanged dependencies behind latest rustbook dependencies: Locking 21 packages to latest compatible versions Updating autocfg v1.4.0 -> v1.5.0 Updating bumpalo v3.18.1 -> v3.19.0 Updating errno v0.3.12 -> v0.3.13 Updating indexmap v2.9.0 -> v2.10.0 Updating markup5ever v0.16.1 -> v0.16.2 Updating pest v2.8.0 -> v2.8.1 Updating pest_derive v2.8.0 -> v2.8.1 Updating pest_generator v2.8.0 -> v2.8.1 Updating pest_meta v2.8.0 -> v2.8.1 Updating r-efi v5.2.0 -> v5.3.0 Updating syn v2.0.103 -> v2.0.104 Adding windows-sys v0.60.2 Adding windows-targets v0.53.2 Adding windows_aarch64_gnullvm v0.53.0 Adding windows_aarch64_msvc v0.53.0 Adding windows_i686_gnu v0.53.0 Adding windows_i686_gnullvm v0.53.0 Adding windows_i686_msvc v0.53.0 Adding windows_x86_64_gnu v0.53.0 Adding windows_x86_64_gnullvm v0.53.0 Adding windows_x86_64_msvc v0.53.0
2025-07-03Rollup merge of #134006 - klensy:typos, r=nnethercoteJana Dönszelmann-4/+4
setup typos check in CI This allows to check typos in CI, currently for compiler only (to reduce commit size with fixes). With current setup, exclude list is quite short, so it worth trying? Also includes commits with actual typo fixes. MCP: https://github.com/rust-lang/compiler-team/issues/817 typos check currently turned for: * ./compiler * ./library * ./src/bootstrap * ./src/librustdoc After merging, PRs which enables checks for other crates (tools) can be implemented too. Found typos will **not break** other jobs immediately: (tests, building compiler for perf run). Job will be marked as red on completion in ~ 20 secs, so you will not forget to fix it whenever you want, before merging pr. Check typos: `python x.py test tidy --extra-checks=spellcheck` Apply typo fixes: `python x.py test tidy --extra-checks=spellcheck:fix` (in case if there only 1 suggestion of each typo) Current fail in this pr is expected and shows how typo errors emitted. Commit with error will be removed after r+.
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-4/+4
2025-07-03Rollup merge of #143325 - Kobzol:bootstrap-interner, r=clubby789Matthias Krüger-4/+7
Use non-global interner in `test_string_interning` in bootstrap Just a small cleanup that we found on our GSoC call. CC `@Shourya742`
2025-07-03Rollup merge of #143316 - Kobzol:bootstrap-check-tests, r=jieyouxuMatthias Krüger-63/+373
Add bootstrap check snapshot tests Split off from https://github.com/rust-lang/rust/pull/143048, so that we get a baseline of how check behaved before we make changes to it. Note that the output of the check snapshot tests is suboptimal in many places, as we're missing information about stages and the build compiler. That will be changed in https://github.com/rust-lang/rust/pull/143048. r? `@jieyouxu`
2025-07-03Rollup merge of #143251 - lolbinarycat:bootstrap-toml-tidy-extra-checks, ↵Matthias Krüger-2/+13
r=Kobzol bootstrap: add build.tidy-extra-checks option split off from rust-lang/rust#142924 r? `@Kobzol`
2025-07-02Rollup merge of #142212 - GrigorenkoPV:codegens, r=KobzolMatthias Krüger-36/+29
bootstrap: validate `rust.codegen-backends` & `target.<triple>.codegen-backends` As per https://github.com/rust-lang/rust/issues/142184#issuecomment-2954124009. Closes rust-lang/rust#142184.
2025-07-02bootstrap: add CONFIG_CHANGE_HISTORY entry for build.tidy-extra-checksbinarycat-0/+5
2025-07-02bootstrap: add build.tidy-extra-checks optionbinarycat-2/+8
2025-07-02bootstrap: `validate rust.codegen-backends` & `targer.<triple>.codegen-backends`Pavel Grigorenko-36/+29
2025-07-02Use non-global interner in `test_string_interning` in bootstrapJakub Beránek-4/+7
2025-07-02Apply review commentsJakub Beránek-2/+3
2025-07-02Add cross-compilation check testsJakub Beránek-0/+47
2025-07-02Add bootstrap tool check testJakub Beránek-0/+14
2025-07-02Add Rust Analyzer check testsJakub Beránek-0/+18
2025-07-02Add codegen check testsJakub Beránek-0/+25
2025-07-02Add compiletest check testsJakub Beránek-4/+30
2025-07-02Add snapshot tests for checking compiler, library and rustc toolsJakub Beránek-1/+182