about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
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-30Auto merge of #144673 - Zalathar:rollup-0kpeq3n, r=Zalatharbors-356/+541
Rollup of 6 pull requests Successful merges: - rust-lang/rust#144042 (Verify llvm-needs-components are not empty and match the --target value) - rust-lang/rust#144268 (Add method `find_ancestor_not_from_macro` and `find_ancestor_not_from_extern_macro` to supersede `find_oldest_ancestor_in_same_ctxt`) - rust-lang/rust#144411 (Remove `hello_world` directory) - rust-lang/rust#144662 (compiletest: Move directive names back into a separate file) - rust-lang/rust#144666 (Make sure to account for the right item universal regions in borrowck) - rust-lang/rust#144668 ([test][run-make] add needs-llvm-components) r? `@ghost` `@rustbot` modify labels: rollup
2025-07-30Rollup merge of #144662 - Zalathar:directive-names, r=fmeaseStuart Cook-290/+293
compiletest: Move directive names back into a separate file This list no longer needs to be included in multiple crates, but having the list in its own file makes it easier to find and update when necessary. As discussed at https://github.com/rust-lang/rust/pull/143850#issuecomment-3130307023.
2025-07-30Rollup merge of #144042 - dpaoliello:verifyllvmcomp, r=jieyouxuStuart Cook-66/+248
Verify llvm-needs-components are not empty and match the --target value I recently discovered a test with an empty `llvm-needs-components` entry (fixed in rust-lang/rust#143979) which meant that it didn't work correctly when building Rust with a limited set of LLVM targets. This change makes a pair of improvements to prevent this issue from creeping in again: * When parsing directives with values, `compiletest` will now raise an error if there is an empty value. * Improved the `target_specific_tests` tidy checker to map targets to LLVM components, to verify that any existing `llvm-needs-components` contains the target being used. I also fixed all the issues flagged by the improved tidy checker.
2025-07-30Auto merge of #144305 - ChrisDenton:win-free-disk-space, r=marcoienibors-273/+308
Free disk space on Windows 2025 runners I've managed to reduce the time deletion takes by: - Using powershell, which is generally faster for filesystem operations than msys2 - Performing deletions concurrently then waiting for them all to complete It still takes 2-10 mins but that's not too bad.
2025-07-30Free disk space on Windows 2025 runnersChris Denton-273/+308
2025-07-30compiletest: Move directive names back into a separate fileZalathar-290/+293
This list no longer needs to be included in multiple crates, but having it in its own file makes it easier to find and update when necessary.
2025-07-29Rollup merge of #144639 - Kobzol:x-perf-tui, r=lqdJacob Pratt-27/+24
Update rustc-perf submodule Mostly to include https://github.com/rust-lang/rustc-perf/pull/2204.
2025-07-29Rollup merge of #144586 - alexcrichton:update-weasi-sdk, r=Mark-SimulacrumJacob Pratt-4/+4
Update wasi-sdk to 27.0 in CI This updates the wasi-sdk used in CI to build release binaries and run CI with. No major motivation beyond keeping things up-to-date and following the development of wasi-sdk.
2025-07-29Verify llvm-needs-components are not empty and match the --target valueDaniel Paoliello-66/+248
2025-07-29Update wasi-sdk to 27.0 in CIAlex Crichton-4/+4
This updates the wasi-sdk used in CI to build release binaries and run CI with. No major motivation beyond keeping things up-to-date and following the development of wasi-sdk.
2025-07-29Remove no longer needed handling of nonstandard licensesJakub Beránek-19/+0
2025-07-29Update license exceptions for rustc-perfJakub Beránek-1/+1
2025-07-29Improve tidy error on dependency license exceptionsJakub Beránek-7/+23
2025-07-29Update rustc-perf submoduleJakub Beránek-0/+0
2025-07-29Rollup merge of #144623 - RalfJung:miri, r=RalfJungStuart Cook-1468/+2606
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 #144600 - Noratrieb:rustdoc-dep-info-paths, r=GuillaumeGomezStuart Cook-16/+37
Ensure external paths passed via flags end up in rustdoc depinfo rustdoc has many flags to pass external HTML/Markdown/CSS files that end up in the build. These need to be recorded in depinfo so that Cargo will rebuild the crate if they change.
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``
2025-07-29Rollup merge of #144511 - lolbinarycat:tidy-extra-checks-opt, r=KobzolStuart Cook-30/+55
tidy: increase performance of auto extra checks feature Removes the repeated calls to git diff. Halves the overhead of the tidy extra checks feature from 0.1 seconds to 0.05 on my machine, but probably will be more significant on systems on slow disks or less memory for i/o cache. r? ``@Kobzol``
2025-07-29Rollup merge of #144482 - ↵Stuart Cook-479/+657
Shourya742:2025-07-24-have-explicit-download-methods, r=Kobzol Add explicit download methods to download module in bootstrap This PR attempts to decouple the default initialization of the config object from parse_inner. It moves specific download methods, previously used during the initial config setup, into standalone functions outside the config implementation. r? ``@Kobzol``
2025-07-29Rollup merge of #144569 - tshepang:rdg-sync, r=KobzolStuart Cook-242/+449
rustc-dev-guide subtree update Subtree update of `rustc-dev-guide` to https://github.com/rust-lang/rustc-dev-guide/commit/e19866a61df01efa7e7fd6fdaff571909534da4e. Created using https://github.com/rust-lang/josh-sync. r? `````@ghost`````
2025-07-29Rollup merge of #144367 - shepmaster:reduce-x86-macos-runner-usage, ↵Stuart Cook-1/+1
r=Mark-Simulacrum Move dist-apple-various from x86_64 to aarch64 `macos-13` is going away soonish.
2025-07-29Rollup merge of #143883 - pietroalbini:pa-linkchecker-extra-target, r=ehussStuart Cook-26/+101
Add `--link-targets-dir` argument to linkchecker In my release notes API list tool (rust-lang/rust#143053) I want to check whether all links generated by the tool are actually valid, and using linkchecker seems to be the most sensible choice. Linkchecker currently has a fairly big limitation though: it can only check a single directory, it checks *all* of the files within it, and link targets must point inside that same directory. This works great when checking the whole documentation package, but in my case I only need to check that one file contains valid links to the standard library docs. To solve that, this PR adds a new `--link-targets-dir` flag to linkchecker. Directories passed to it will be valid link targets (with lower priority than the root being checked), but links within them will not be checked. I'm not that happy with the name of the flag, happy for it to be bikeshedded.
2025-07-29update lockfile and bless tidyRalf Jung-0/+5
2025-07-28Auto merge of #144524 - rust-lang:cargo_update, r=clubby789bors-2/+2
Weekly `cargo update` Automation to keep dependencies in `Cargo.lock` current. r? dep-bumps The following is the output from `cargo update`: ```txt compiler & tools dependencies: Locking 3 packages to latest compatible versions Updating ipc-channel v0.20.0 -> v0.20.1 Updating rand v0.9.1 -> v0.9.2 Updating redox_syscall v0.5.13 -> v0.5.16 note: pass `--verbose` to see 37 unchanged dependencies behind latest library dependencies: Locking 1 package to latest compatible version Updating rand v0.9.1 -> v0.9.2 note: pass `--verbose` to see 2 unchanged dependencies behind latest rustbook dependencies: Locking 1 package to latest compatible version Updating redox_syscall v0.5.13 -> v0.5.16 ```
2025-07-28Auto merge of #144603 - lnicola:sync-from-ra, r=lnicolabors-1424/+2182
`rust-analyzer` subtree update Subtree update of `rust-analyzer` to https://github.com/rust-lang/rust-analyzer/commit/511c999bea1c3c129b8eba713bb9b809a9003d00. Created using https://github.com/rust-lang/josh-sync. r? `@ghost`
2025-07-28Ensure external paths passed via flags end up in rustdoc depinfoNoratrieb-16/+37
rustdoc has many flags to pass external HTML/Markdown/CSS files that end up in the build. These need to be recorded in depinfo so that Cargo will rebuild the crate if they change.
2025-07-28bootstrap: enable tidy auto extra checks on tools profilebinarycat-0/+2
2025-07-28tidy: increase performance of auto extra checks featurebinarycat-30/+55
Co-authored-by: Jakub Beránek <berykubik@gmail.com>
2025-07-28Merge pull request #20321 from rust-lang/rustc-pullLaurențiu Nicola-3978/+6271
Rustc pull update
2025-07-28Format and bump rustc cratesLaurențiu Nicola-23/+23
2025-07-28Configure triagebot to reopen bot PRsJakub Beránek-0/+3
2025-07-28make sure to populate DownloadState dependencies before its initialization ↵bit-aloo-5/+5
in config parsing
2025-07-28Rename impl_of_method -> impl_of_assocCameron Steffen-27/+27
2025-07-28Rename trait_of_item -> trait_of_assocCameron Steffen-24/+24
2025-07-28Merge pull request #20313 from Veykril/push-qmorsnlvwlrrLukas Wirth-50/+50
fix: Fix runnables extra env not substituting env vars
2025-07-28Merge pull request #20327 from Wilfred/saved_file_placeholderLukas Wirth-1/+12
Don't show '$saved_file' literally in IDE status updates
2025-07-28Merge pull request #4504 from RalfJung/link-section-arraysRalf Jung-10/+22
lookup_link_section: support arrays of function pointers
2025-07-28remove config wrappers of download_toolchain and maybe_download_fmt and ↵bit-aloo-17/+13
during config parsing directly invoke cdownload methods
2025-07-28lookup_link_section: support arrays of function pointersRalf Jung-10/+22
2025-07-28Merge pull request #20303 from Hmikihiro/migrate_path_transformShoyu Vanilla (Flint)-87/+170
Migrate path transform
2025-07-28use dry_run and verbose directly from exec_ctxbit-aloo-30/+27
2025-07-28Support multiple crate versions in --extern-html-root-urlKornel-7/+29
2025-07-28Don't show '$saved_file' literally in IDE status updatesWilfred Hughes-1/+12
We've had a few users get confused when VS Code shows `my_custom_check --args $saved_file`, as it looks like substitution didn't occur. Instead, show `my_custom_check --args ...` in the display output. This is also shorter, and the VS Code status bar generally works best with short text.
2025-07-28add --link-targets-dir flag to linkcheckerPietro Albini-25/+52
2025-07-28add an argument parser to linkcheckerPietro Albini-5/+46
2025-07-28bump linkchecker to edition 2024Pietro Albini-1/+1
2025-07-28add support for ./x check src/tools/linkcheckerPietro Albini-0/+7
2025-07-28Reduce required cc crate version.Patrick-6-4/+6
2025-07-28reword to avoid using a term used in a confusing manner, "error annotations"Tshepang Mbambo-2/+3