about summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
2025-08-01add rust default implementationbit-aloo-200/+175
2025-08-01add llvm default implementationbit-aloo-111/+97
2025-08-01add gcc and dist default implementationbit-aloo-32/+32
2025-08-01add install default implementationbit-aloo-10/+26
2025-08-01Fix verbosity settingbit-aloo-8/+10
2025-08-01Fix logging of config skip valuesbit-aloo-28/+27
2025-08-01Override some build TOML values by flagsbit-aloo-127/+149
2025-08-01Split TOML postprocessing into a separate functionbit-aloo-99/+114
2025-08-01Extract TOML config loading and src directory computation into separate ↵bit-aloo-89/+117
functions
2025-08-01Force initializing ExecutionContext with verbosity and fail_fast modebit-aloo-8/+6
2025-08-01move rust config to parse_innerbit-aloo-261/+251
2025-08-01move llvm parsing to parse_innerbit-aloo-127/+123
2025-08-01move install to parse_innerbit-aloo-20/+13
2025-08-01move target parsing to parse_innerbit-aloo-71/+64
2025-08-01move dist to parse_innerbit-aloo-31/+25
2025-08-01move gcc config parsing to parse_innerbit-aloo-19/+11
2025-08-01Clarify comments on Cargo (self-)test stepsJakub Beránek-4/+14
2025-08-01Make `x test cargo` stage N test rustc stage NJakub Beránek-13/+47
2025-08-01Fix `x test cargo`Jakub Beránek-36/+31
2025-08-01Make build compiler explicit in `dist::Cargo`Jakub Beránek-16/+25
2025-08-01Add snapshot tests for `test cargo` and update Cargo snapshot testsJakub Beránek-2/+35
2025-08-01Update `CargoTest`Jakub Beránek-9/+39
2025-08-01Make `Cargo` a `ToolTarget` toolJakub Beránek-12/+4
2025-08-01Add basic Cargo snapshot testJakub Beránek-0/+15
2025-08-01Appease ClippyJakub Beránek-1/+0
2025-08-01Rename `link_compiler` to `target_compiler`Jakub Beránek-27/+30
2025-08-01Port codegen backends to `RustcPrivateCompilers`Jakub Beránek-61/+45
2025-08-01Add step metadata and a simple test for codegen backendsJakub Beránek-0/+27
2025-08-01Fix `ToolRustc` build with `download-rustc`Jakub Beránek-1/+7
2025-08-01Refactor `Rustdoc`Jakub Beránek-96/+90
2025-08-01Add step metadata and a few tests for `Doc` stepsJakub Beránek-0/+103
2025-08-01Implement `RustcPrivateCompilers` to unify building of `rustc_private` toolsJakub Beránek-269/+287
2025-08-01Rename `Builder::rustdoc` to `Builder::rustdoc_for_compiler`Jakub Beránek-24/+32
To clarify what it does.
2025-08-01Add step metadata to `RustAnalyzerProcMacroSrv`Jakub Beránek-0/+10
2025-08-01Cleanup `ensure_if_default` to not require `Option` outputJakub Beránek-7/+8
2025-08-01Add metadata to `Cargo` and `RustAnalyzer` toolsJakub Beránek-0/+20
2025-08-01Rename extended rustc tool macrosJakub Beránek-17/+19
2025-08-01Properly pass path to staged `rustc` to `compiletest` self-testsJieyou Xu-0/+6
Otherwise, this can do weird things like use a global rustc, or try to use stage 0 rustc. This must be properly configured, because `compiletest` is intended to only support one compiler target spec JSON format (of the in-tree compiler).
2025-08-01Auto merge of #144773 - RalfJung:rollup-uif2yyj, r=RalfJungbors-79/+143
Rollup of 6 pull requests Successful merges: - rust-lang/rust#144397 (`tests/ui/issues/`: The Issues Strike Back [2/N]) - rust-lang/rust#144410 (Make tier 3 musl targets link dynamically by default) - rust-lang/rust#144708 (Add tracing to step.rs and friends) - rust-lang/rust#144730 (Create a typed wrapper for codegen backends in bootstrap) - rust-lang/rust#144771 (Remove some noisy triagebot pings for myself) - rust-lang/rust#144772 (add unsupported_calling_conventions to lint list) r? `@ghost` `@rustbot` modify labels: rollup
2025-08-01Rollup merge of #144683 - tgross35:builtins-via-std-workspace, ↵Jacob Pratt-11/+11
r=bjorn3,Noratrieb Simplify library dependencies on `compiler-builtins` The three panic-related library crates need to have access to `core`, and `compiler-builtins` needs to be in the crate graph. Rather than specifying both dependencies, switch these crates to use `rustc-std-workspace-core` which already does this. This means there is now a single place that the `compiler-builtins` dependency needs to get configured, for everything other than `alloc` and `std`. The second commit removes `compiler-builtins` from `std` (more details in the message).
2025-07-31Use `core` via `rustc-std-workspace-core` in `library/panic*`Trevor Gross-11/+11
The three panic-related library crates need to have access to `core`, and `compiler-builtins` needs to be in the crate graph. Rather than specifying both dependencies, switch these crates to use `rustc-std-workspace-core` which already does this. This means there is now a single place that the `compiler-builtins` dependency needs to get configured, for everything other than `alloc` and `std`.
2025-07-31Create a typed wrapper for codegen backendsJakub Beránek-79/+143
To avoid representing them just with strings.
2025-07-30Address some rustc inconsistency issuesHaowei Wu-5/+13
We noticed when building rustc multiple time in a roll, some files will not be consistent across the build despite the fact that they are built from same source under the same environment. This patch addresses the inconsistency issue we found on libunwind.a by sorting the order of the files passed to the linker.
2025-07-30Add change tracker entryJieyou Xu-0/+5
2025-07-30Deny `compiletest` self-tests being run against stage 0 rustc unless ↵Jieyou Xu-1/+18
explicitly allowed Otherwise, `compiletest` would have to know e.g. how to parse two different target spec, if target spec format was changed between beta `rustc` and in-tree `rustc`.
2025-07-30Introduce proper `build.compiletest-allow-stage0` config optionJieyou Xu-6/+19
In favor of the adhoc `COMPILETEST_FORCE_STAGE0` env var.
2025-07-30bootstrap: split runtime DLL part out of `make_win_dist`Mateusz Mikuła-39/+35
2025-07-30bootstrap: extract `cc` query into a new functionMateusz Mikuła-20/+29
2025-07-29Rollup merge of #144623 - RalfJung:miri, r=RalfJungStuart Cook-0/+5
miri subtree update Subtree update of `miri` to https://github.com/rust-lang/miri/commit/fc4d9a2720d38f815d3e20627b805b4a379e5c8b. Created using https://github.com/rust-lang/josh-sync. r? `@ghost`
2025-07-29Rollup merge of #144599 - ↵Stuart Cook-0/+2
lolbinarycat:bootstrap-build.tidy-extra-checks-enable-for-tools, r=Kobzol bootstrap: enable tidy auto extra checks on tools profile alternative to https://github.com/rust-lang/rust/pull/144461 this won't affect CI or any `./configure` based workflows, and will also not affect every rust contributor like that PR will. a slower rollout of this feature should reduce disruption if issues are discovered with it. r? ``@Kobzol``