about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-03-15Rollup merge of #138507 - Kobzol:netbsd-mirror, r=Mark-SimulacrumLeón Orell Valerian Liehr-17/+9
Mirror NetBSD sources Should avoid issues with NetBSD servers. r? ``@Mark-Simulacrum`` try-job: `*netbsd*`
2025-03-15Rollup merge of #138454 - Kobzol:post-merge-workflow-fixes, r=jieyouxuLeón Orell Valerian Liehr-77/+138
Improve post-merge workflow Contains various fixes for the post-merge workflow implemented in https://github.com/rust-lang/rust/pull/138013, which were suggested on Zulip. This PR changes the grouping of test diffs and ignores doctests, as they are too noisy. I'll post an example output (before/after this PR) in comments below. r? ```@jieyouxu```
2025-03-15Rollup merge of #138451 - Kobzol:gcc-ci-build-gcc, r=GuillaumeGomezLeón Orell Valerian Liehr-45/+91
Build GCC on CI with GCC, not Clang It seems that GCC built with Clang misbehaves. I have tested that cg_gcc tests [pass](https://github.com/rust-lang/rust/actions/runs/13842365913/job/38732750617?pr=138451) on CI with a downloaded GCC that was built in this way. Prerequisite for https://github.com/rust-lang/rust/pull/138395. r? ```@ghost```
2025-03-14Require Rust 1.85David Richey-1/+1
2025-03-14Update cargoWeihang Lo-0/+0
2025-03-14Merge pull request #19271 from vishruth-thimmaiah/for_loop_to_while_letLukas Wirth-2/+467
feat: for loop to while let assist
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-24/+0
For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
2025-03-14rustdoc js: add nonnull helper and typecheck src-script.jsbinarycat-9/+70
2025-03-14Fix clippyEric Holk-1/+1
2025-03-14Teach rustfmt to handle postfix yieldEric Holk-4/+33
2025-03-14Preserve yield position during pretty printingEric Holk-2/+2
2025-03-14Merge pull request #19356 from flodiebold/push-snpyvwuulkmwLukas Wirth-19/+20
fix: Avoid recursively debug printing crates
2025-03-14Avoid recursively debug printing cratesFlorian Diebold-19/+20
2025-03-14Mirror NetBSD sourcesJakub Beránek-17/+9
2025-03-14Rollup merge of #138487 - Kobzol:fix-doc-url-docker, r=marcoieniLeón Orell Valerian Liehr-0/+1
Pass `CI_JOB_DOC_URL` to Docker Fix-up for https://github.com/rust-lang/rust/pull/136911. I always forget to pass new environment variables to Docker images.. :man_facepalming: r? `@marcoieni` try-job: x86_64-fuchsia
2025-03-14Rollup merge of #138485 - BoxyUwU:rdg-push, r=jieyouxuLeón Orell Valerian Liehr-105/+202
Rustc dev guide subtree update r? `@jieyouxu`
2025-03-14Rollup merge of #138469 - tshepang:patch-6, r=onur-ozkanLeón Orell Valerian Liehr-2/+0
remove comment regarding a removed test directive Removed in https://github.com/rust-lang/rust/pull/120265
2025-03-14Fix MCP linksJakub Beránek-2/+2
2025-03-14feat: for loop to while let assistVishruth-Thimmaiah-2/+467
2025-03-14Split `variant_data` into its own queryLukas Wirth-211/+189
2025-03-14Split enum variants out of `enum_data` queryLukas Wirth-52/+74
2025-03-14Move attribute parsing out of data moduleLukas Wirth-124/+128
2025-03-14Split assoc items out of `trait_data`/`impl_data` queriesLukas Wirth-397/+446
2025-03-14Remove `RUN_CHECK_WITH_PARALLEL_QUERIES`Jakub Beránek-17/+0
It is useless after the removal of the parallel compiler configuration.
2025-03-14Pass `CI_JOB_DOC_URL` to DockerJakub Beránek-0/+1
2025-03-14Ensure that GCC is not built using Clang, as it misbehavesJakub Beránek-6/+20
2025-03-14Add clarification about doctestsJakub Beránek-1/+1
2025-03-14Merge pull request #2283 from jieyouxu/sync许杰友 Jieyou Xu (Joe)-31184/+53024
Rustc pull
2025-03-14Auto merge of #138480 - jhpratt:rollup-y3b8wu5, r=jhprattbors-47/+41
Rollup of 16 pull requests Successful merges: - #136001 (Overhaul examples for PermissionsExt) - #136230 (Reword incorrect documentation about SocketAddr having varying layout) - #136892 (Sync Fuchsia target spec with clang Fuchsia driver) - #136911 (Add documentation URL to selected jobs) - #137870 ( Improve HashMap docs for const and static initializers) - #138179 (Add `src/tools/x` to the main workspace) - #138389 (use `expect` instead of `allow`) - #138396 (Enable metrics and verbose tests in PR CI) - #138398 (atomic intrinsics: clarify which types are supported and (if applicable) what happens with provenance) - #138432 (fix: remove the check of lld not supporting `@response-file)` - #138434 (Visit `PatField` when collecting lint levels) - #138441 (update error message) - #138442 (EUV: fix place of deref pattern's interior's scrutinee) - #138457 (Remove usage of legacy scheme paths on RedoxOS) - #138461 (Remove an outdated line from a test comment) - #138466 (Remove myself from libs review) Failed merges: - #138452 (Remove `RUN_CHECK_WITH_PARALLEL_QUERIES`) r? `@ghost` `@rustbot` modify labels: rollup
2025-03-14Rollup merge of #138441 - tshepang:patch-5, r=jieyouxuJacob Pratt-1/+1
update error message [`compile-pass` has since been renamed to `build-pass`](https://github.com/rust-lang/rust/issues/62277)
2025-03-14Rollup merge of #138396 - Kobzol:ci-metrics, r=marcoieniJacob Pratt-14/+5
Enable metrics and verbose tests in PR CI When debugging CI, I relatively often need to examine what tests are executed on PR CI, and what bootstrap steps does it execute. However, we currently disable both verbose tests and bootstrap metrics on PR CI for some reason. I'm not actually sure why though, as the PR that (probably) introduced this behavior (https://github.com/rust-lang/rust/pull/51367) didn't explain why. CC `@oli-obk`
2025-03-14Rollup merge of #138389 - onur-ozkan:use-expect, r=jieyouxuJacob Pratt-16/+13
use `expect` instead of `allow` This is more useful than `allow` as compiler will force us to remove rules that are no longer valid (we already got a few of them in this change).
2025-03-14Rollup merge of #138179 - cuviper:x, r=jieyouxuJacob Pratt-15/+9
Add `src/tools/x` to the main workspace The original reason to exclude it was so it could run before submodules were initialized. However, those have all been converted to subtrees now, so the entire workspace is always ready to go. I've also alphabetized the workspace members, as it was an untidy mess. :broom:
2025-03-14Rollup merge of #136911 - Kobzol:ci-helper-link, r=marcoieniJacob Pratt-1/+13
Add documentation URL to selected jobs This PR adds the possibility to attach URLs to selected CI jobs, which are then printed at the end of the CI log when a failure happens in that job. The motivation is to allow contributors to find how to fix the specific jobs more quickly. This was proposed on [Zulip](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/Automatic.20useful.20links.20when.20a.20particular.20CI.20job.20fails.3F). An example output can be seen [here](https://github.com/rust-lang/rust/actions/runs/13836290091/job/38712112523?pr=136911). r? `@ghost`
2025-03-14Merge from rustcThe Miri Cronjob Bot-965/+1426
2025-03-14Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-03-14Auto merge of #138157 - scottmcm:inline-more-tiny-things, r=oli-obkbors-2/+2
Allow more top-down inlining for single-BB callees This means that things like `<usize as Step>::forward_unchecked` and `<PartialOrd for f32>::le` will inline even if we've already done a bunch of inlining to find the calls to them. Fixes #138136 ~~Draft as it's built atop #138135, which adds a mir-opt test that's a nice demonstration of this. To see just this change, look at <https://github.com/rust-lang/rust/pull/138157/commits/48f63e3be552605c2933056b77bf23a326757f92>~~ Rebased to be just the inlining change, as the other existing tests show it great.
2025-03-13Fix grammar and remove redundant infoKonaeAkira-2/+1
2025-03-13Store libgccjit.so in a lib directory in the GCC CI tarballJakub Beránek-3/+2
2025-03-13Do not overwrite original `config.toml` in `opt-dist`Jakub Beránek-29/+52
So that follow-up CI commands can proceed normally. It will also avoid overwriting `config.toml` when running opt-dist tests locally.
2025-03-13Use GCC for building GCCJakub Beránek-1/+3
2025-03-13Change GCC build flagsJakub Beránek-1/+1
2025-03-13Create libgccjit.so.0 alias also for CI-downloaded GCCJakub Beránek-6/+14
2025-03-13remove comment regarding a removed test directiveTshepang Mbambo-2/+0
2025-03-13Record the new settings checksumsJosh Stone-3/+7
2025-03-13Remove separate `src/tools/x` from rust-analyzer settingsJosh Stone-4/+0
2025-03-13Alphabetize the root workspace membersJosh Stone-0/+2
2025-03-13Add `src/tools/x` to the main workspaceJosh Stone-8/+0
The original reason to exclude it was so it could run before submodules were initialized. However, those have all been converted to subtrees now, so the entire workspace is always ready to go.
2025-03-13Remove the doc for `no-system-llvm`Josh Stone-1/+0
This compiletest directive was removed in rust-lang/rust#120265.
2025-03-13internal: don't panic when the crate graph isn't ready #19351David Barsky-30/+50