about summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
2025-07-09Rename `compiler` to `build_compiler`Jakub Beránek-30/+31
2025-07-09Add doc cross-compilation testJakub Beránek-0/+16
2025-07-09Add `doc library` test for a no_std targetJakub Beránek-1/+17
2025-07-08Rollup merge of #143606 - lambdageek:configure-write-last-key, r=KobzolTrevor Gross-8/+18
configure.py: Write last key in each section The loop that writes the keys in each section of bootstrap.toml accumulates all the commented lines before a given key and emits them when it reaches the next key in the section. This ends up dropping lines accumulated for the last key Fixes rust-lang/rust#143605
2025-07-08Rollup merge of #142357 - Kobzol:simplify-llvm-bitcode-linker, r=jieyouxuTrevor Gross-30/+82
Simplify LLVM bitcode linker in bootstrap and add tests for it This PR tries to simplify the `LlvmBitcodeLinker` step a little bit, and add tests for it. It also adds tests for `LldWrapper`. r? `@jieyouxu`
2025-07-08Disable docs for `compiler-builtins` and `sysroot`Josh Stone-4/+0
Bootstrap already had a manual doc filter for the `sysroot` crate, but other library crates keep themselves out of the public docs by setting `[lib] doc = false` in their manifest. This seems like a better solution to hide `compiler-builtins` docs, and removes the `sysroot` hack too.
2025-07-08bootstrap: add change tracker entry for new --extra-checks=auto: featurebinarycat-0/+5
2025-07-08tidy: add `auto:` prefix to --extra-checks syntaxbinarycat-1/+4
currently this just uses a very simple extension-based heirustic.
2025-07-08SpellingAleksey Kliger-1/+1
2025-07-08Add cross-compilation tool testJakub Beránek-0/+29
2025-07-08Rewrite for clarityAleksey Kliger-12/+14
move common code to a helper function Co-Authored-By: Kobzol <berykubik@gmail.com>
2025-07-08Also test `LldWrapper` and remove `llvm-config` override from testsJakub Beránek-3/+10
2025-07-08Update llvm-bitcode-linker testsJakub Beránek-5/+35
2025-07-08Remove sysroot copy from `LlvmBitcodeLinker` stepJakub Beránek-20/+10
That step should be responsible for building the tool, not performing side-effects. Also, only copy the tool to the `self-contained` directory, not to the `rustlib/<target>/bin` directory.
2025-07-08Remove `extra_features` from `LlvmBitcodeLinker`Jakub Beránek-6/+2
It wasn't used anywhere.
2025-07-08update bootstrap mcp510 handlingRémy Rakic-16/+46
beta and stage1 need to use different flags (-C vs -Z) to be able to use the old and new `linker-features` and `link-self-contained` flags
2025-07-08use LLD by default on x64 regardless of channelRémy Rakic-7/+2
2025-07-08Fix handling of std crates for no_std targetsJakub Beránek-41/+106
2025-07-08Add `crates` metadata to `doc::Std` stepJakub Beránek-20/+24
2025-07-08Remove test hack for std cratesJakub Beránek-5/+0
2025-07-07Make it possible to attach opaque string metadata to `StepMetadata`Jakub Beránek-2/+12
2025-07-07Add docstringAleksey Kliger-0/+4
2025-07-07configure.py: Write last key in each sectionAleksey Kliger-0/+4
The loop that writes the keys in each section of bootstrap.toml accumulates all the commented lines before a given key and emits them when it reaches the next key in the section. This ends up dropping lines accumulated for the last key
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