about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-06-12Merge pull request #2464 from rust-lang/rustc-pullTshepang Mbambo-5902/+8927
Rustc pull update
2025-06-12Merge from rustcThe rustc-dev-guide Cronjob Bot-5901/+8926
2025-06-12Preparing for merge from rustcThe rustc-dev-guide Cronjob Bot-1/+1
2025-06-12Auto merge of #136594 - pascaldekloe:fmt-int128, r=tgross35bors-188/+249
Faster fmt::Display of 128-bit integers, without unsafe pointer In followup of #135265, hereby the 128-bit part. * Batches per 16 instead of 19 digits * Buffer access as array insteaf of unsafe pointer * Added test coverage for i128 and u128 r? tgross35 ChrisDenton
2025-06-11Auto merge of #142381 - matthiaskrgr:rollup-si4xbko, r=matthiaskrgrbors-78/+74
Rollup of 9 pull requests Successful merges: - rust-lang/rust#142305 (Remove unneeded `check_id` calls as they are already called in `visit_id` in `EarlyContextAndPass` type) - rust-lang/rust#142314 (remove ice group pings from `triagebot.toml`) - rust-lang/rust#142343 (remove myself from the project) - rust-lang/rust#142346 (Add tracing import to execution context) - rust-lang/rust#142356 (Fix enter_trace_span!() using wrong $crate paths) - rust-lang/rust#142362 (Add expectation for `{` when parsing lone coroutine qualifiers) - rust-lang/rust#142364 (Do not warn on `rust.incremental` when using download CI rustc) - rust-lang/rust#142369 (Improve some attribute docs and rename groups) - rust-lang/rust#142374 (Fix missing newline trim in bootstrap) r? `@ghost` `@rustbot` modify labels: rollup
2025-06-11Rollup merge of #142374 - Kobzol:fix-newline, r=tmiaskoMatthias Krüger-1/+2
Fix missing newline trim in bootstrap Fixes [this comment](https://github.com/rust-lang/rust/pull/141909/files#r2140632918). Fixes: https://github.com/rust-lang/rust/issues/142350
2025-06-11Rollup merge of #142369 - jdonszelmann:attr-docs, r=fmeaseMatthias Krüger-12/+23
Improve some attribute docs and rename groups r? `@nnethercote` Some naming here got changed at some point, and this feels more consistent. The docs changes were a direct response to `@mejrs` trying to implement a new parsers and running into this.
2025-06-11Rollup merge of #142364 - Kobzol:download-ci-incremental-warning-remove, ↵Matthias Krüger-2/+1
r=RalfJung Do not warn on `rust.incremental` when using download CI rustc Discussed on Zulip. r? `@RalfJung`
2025-06-11Rollup merge of #142362 - Veykril:push-rzmrsswqourz, r=oli-obkMatthias Krüger-32/+38
Add expectation for `{` when parsing lone coroutine qualifiers Fixes https://github.com/rust-lang/rust/issues/80931
2025-06-11Rollup merge of #142356 - Stypox:fix-enter_trace_span, r=RalfJungMatthias Krüger-2/+2
Fix enter_trace_span!() using wrong $crate paths This is a followup to rust-lang/rust#140972, where I made a silly mistake and forgot to update `$crate::interpret::tracing_utils::...` to `$crate::interpret::util::...` inside the macro after moving the referenced code from `tracing_utils.rs` to `util.rs`. Sorry about this. r? `@RalfJung`
2025-06-11Rollup merge of #142346 - ↵Matthias Krüger-1/+6
Shourya742:2025-06-11-add-tracing-import-to-execution-context, r=Kobzol Add tracing import to execution context In https://github.com/rust-lang/rust/pull/141909, we missed adding the trace_cmd import in the execution context module. This PR fixes that. Additionally, we are updating the mingw-check-2 check command to include BOOTSTRAP_TRACING=1 to help ensure we don't miss such cases in future PRs. r? `@Kobzol`
2025-06-11Rollup merge of #142343 - onur-ozkan:remove-myself-from-the-project, r=KobzolMatthias Krüger-3/+2
remove myself from the project See [#t-infra/bootstrap > stepping down from T-Bootstrap](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/stepping.20down.20from.20T-Bootstrap/with/523501689)
2025-06-11Rollup merge of #142314 - cyrgani:icebreaker, r=jieyouxuMatthias Krüger-23/+0
remove ice group pings from `triagebot.toml` Followup to rust-lang/team#1860. Question: should the https://github.com/rust-lang/rust/labels/ICEBreaker-Cleanup-Crew and https://github.com/rust-lang/rust/labels/ICEBreaker-LLVM labels be deleted too or not?
2025-06-11Rollup merge of #142305 - ↵Matthias Krüger-2/+0
GuillaumeGomez:remove-visit_id-EarlyContextAndPass, r=oli-obk Remove unneeded `check_id` calls as they are already called in `visit_id` in `EarlyContextAndPass` type Follow-up from [this message](https://github.com/rust-lang/rust/pull/142240/files#r2137474724). Since `check_id` is already called in `visit_id` which is supposed to be called for each item with an ID, we don't need to manually call `check_id`. r? `@oli-obk`
2025-06-11Auto merge of #142358 - matthiaskrgr:rollup-fxe6m7k, r=matthiaskrgrbors-234/+400
Rollup of 9 pull requests Successful merges: - rust-lang/rust#141967 (Configure bootstrap backport nominations through triagebot) - rust-lang/rust#142042 (Make E0621 missing lifetime suggestion verbose) - rust-lang/rust#142272 (tests: Change ABIs in tests to more future-resilient ones) - rust-lang/rust#142282 (Only run `citool` tests on the `auto` branch) - rust-lang/rust#142297 (Implement `//@ needs-target-std` compiletest directive) - rust-lang/rust#142298 (Make loongarch-none target maintainers more easily pingable) - rust-lang/rust#142306 (Dont unwrap and re-wrap typing envs) - rust-lang/rust#142324 (Remove unneeded `FunctionCx` from some codegen methods) - rust-lang/rust#142328 (feat: Add `bit_width` for unsigned integer types) Failed merges: - rust-lang/rust#141639 (Expose discriminant values in stable_mir) r? `@ghost` `@rustbot` modify labels: rollup
2025-06-11Fix missing newline trim in bootstrapJakub Beránek-1/+2
2025-06-11consistently rename (old) attribute groupsJana Dönszelmann-12/+14
2025-06-11document attribute parsers betterJana Dönszelmann-0/+9
2025-06-11Add expectation for `{` when parsing lone coroutine qualifiersLukas Wirth-32/+38
2025-06-11Auto merge of #142344 - Kobzol:revert-142232, r=RalfJungbors-34/+21
Revert "add `Cargo.lock` to CI-rustc allowed list for non-CI env" This reverts commit c3de813944873940b8e1a7734991f3c9f3f55156 (https://github.com/rust-lang/rust/pull/142232). r? `@RalfJung` Fixes: https://github.com/rust-lang/rust/issues/142338 Unfixes: https://github.com/rust-lang/rust/issues/141986
2025-06-11Do not warn on `rust.incremental` when using download CI rustcJakub Beránek-2/+1
2025-06-11faster fmt::Display of 128-bit integers, without unsafe pointerPascal S. de Kloe-152/+128
2025-06-11Rollup merge of #142328 - sorairolake:feature/uint-bit-width, r=tgross35Matthias Krüger-0/+33
feat: Add `bit_width` for unsigned integer types - Accepted ACP: rust-lang/libs-team#598 - Tracking issue: rust-lang/rust#142326 This PR adds methods to the primitive unsigned integer types that return the minimum number of bits required to represent an unsigned integer.
2025-06-11Rollup merge of #142324 - scottmcm:less-functioncx, r=workingjubileeMatthias Krüger-96/+94
Remove unneeded `FunctionCx` from some codegen methods No changes; just removing the `self` that wasn't needed. r? workingjubilee cc https://github.com/rust-lang/rust/pull/138759#issuecomment-2920860686
2025-06-11Rollup merge of #142306 - compiler-errors:nit-reveal-param-env-query, r=lcnrMatthias Krüger-11/+7
Dont unwrap and re-wrap typing envs Just a tiny tweak to make the query less awkward. r? lcnr
2025-06-11Rollup merge of #142298 - jieyouxu:loongarch-maintainer-list, r=fee1-deadMatthias Krüger-2/+2
Make loongarch-none target maintainers more easily pingable In the same style as rust-lang/rust#139028. r? compiler
2025-06-11Rollup merge of #142297 - jieyouxu:needs-target-std, r=KobzolMatthias Krüger-25/+37
Implement `//@ needs-target-std` compiletest directive Closes rust-lang/rust#141863. Needed to unblock rust-lang/rust#139244 and rust-lang/rust#141856. ### Summary This PR implements a `//@ needs-target-std` compiletest directive that gates test execution based on whether the target supports std or not. For some cases, this should be preferred over e.g. some combination of `//@ ignore-none`, `//@ ignore-nvptx` and more[^none-limit]. ### Implementation limitation Unfortunately, since there is currently [no reliable way to determine from metadata whether a given target supports std or not](https://github.com/rust-lang/rust/issues/142296), we have to resort to a hack. Bootstrap currently determines whether or not a target supports std by a naive target tuple substring comparison: a target supports std if its target tuple does *not* contain one of `["-none", "nvptx", "switch"]` substrings. This PR simply pulls that hack out into `build_helpers` to avoid reimplementing the same hack in compiletest, and uses that logic to inform `//@ needs-target-std`. ### Auxiliary changes This PR additionally changes a few run-make tests to use `//@ needs-target-std` over an inconsistent combination of target-based `ignore`s. This should help with rust-lang/rust#139244. --- r? bootstrap [^none-limit]: Notably, `target_os = "none"` is **not** a sufficient condition for "target does not support std"
2025-06-11Rollup merge of #142282 - Kobzol:citool-skip-tests, r=marcoieniMatthias Krüger-1/+7
Only run `citool` tests on the `auto` branch Proposed here: [#t-infra > PR ci seems much to slow @ 💬](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/PR.20ci.20seems.20much.20to.20slow/near/523159583). I haven't yet seen these tests failing on CI, so I think it's a good trade-off. r? `````@marcoieni`````
2025-06-11Rollup merge of #142272 - workingjubilee:change-some-abi-tests, r=aDotInTheVoidMatthias Krüger-28/+42
tests: Change ABIs in tests to more future-resilient ones Eventually we're going to make these tests not work as they are currently written on HEAD, so change them now to get ahead of that. r? aDotInTheVoid
2025-06-11Rollup merge of #142042 - estebank:explicit-lifetime-verbose-suggestion, ↵Matthias Krüger-71/+143
r=compiler-errors Make E0621 missing lifetime suggestion verbose ``` error[E0621]: explicit lifetime required in the type of `x` --> $DIR/42701_one_named_and_one_anonymous.rs:10:9 | LL | &*x | ^^^ lifetime `'a` required | help: add explicit lifetime `'a` to the type of `x` | LL | fn foo2<'a>(a: &'a Foo, x: &'a i32) -> &'a i32 { | ++ ``` Part of rust-lang/rust#141973.
2025-06-11Rollup merge of #141967 - jieyouxu:bootstrap-backports, r=KobzolMatthias Krüger-0/+35
Configure bootstrap backport nominations through triagebot Following the discussion in [#t-infra/bootstrap > ✔ Have triagebot create backport nomination threads?](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/.E2.9C.94.20Have.20triagebot.20create.20backport.20nomination.20threads.3F/with/521876500) where we noticed that bootstrap backport nominations were difficult to track, since: - We don't really have a dedicated person / group of people checking for bootstrap backport nominations. - We don't really have an establish way of handling bootstrap backports. This PR configures triagebot to open backport nominations threads (indicated for bootstrap team if a given PR has the suitable team label, https://github.com/rust-lang/rust/labels/T-bootstrap) in [#t-infra/bootstrap/backports](https://rust-lang.zulipchat.com/#narrow/channel/507486-t-infra.2Fbootstrap.2Fbackports). The current configuration is such that **the whole bootstrap team will be pinged for bootstrap backport nominations**[^diverges]. ### Steps - [x] ~~Ping members who opt-in subscribe to backport channel, or ping the whole bootstrap team?~~ - Poll: [#t-infra/bootstrap > Have triagebot create backport nomination threads? @ 💬](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Have.20triagebot.20create.20backport.20nomination.20threads.3F/near/522141337) - Votes (as of 2025-06-10): 3 votes "no preference", 1 vote "in favor". - [x] ~~(Best for follow-up) Maybe also document bootstrap team's backport process / decision process in Forge? It's a bit different from [compiler team's backport process](https://forge.rust-lang.org/compiler/backports.html) because we don't have weekly bootstrap triage meetings and thus don't have sync backport decisions.~~ - Tracked as follow-up in Forge: https://github.com/rust-lang/rust-forge/issues/889. --- r? Kobzol [^diverges]: Note that this configuration is similar to the types team backport nominations, but diverges from the compiler team.
2025-06-11Auto merge of #141763 - lcnr:fixme-gamer, r=BoxyUwUbors-40/+68
`FIXME(-Znext-solver)` triage r? `@BoxyUwU`
2025-06-11put flag check at the end of command chain in mingw-check-2bit-aloo-4/+5
2025-06-11Fix enter_trace_span!() using wrong $crate pathsStypox-2/+2
2025-06-11add comment over ci changebit-aloo-1/+3
2025-06-11add tracing flag in bootstrap check cmd in mingw-check-2 ci workflowbit-aloo-1/+1
2025-06-11Revert "add `Cargo.lock` to CI-rustc allowed list for non-CI env"Jakub Beránek-34/+21
This reverts commit c3de813944873940b8e1a7734991f3c9f3f55156.
2025-06-11remove myself from the projectonur-ozkan-3/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-06-11add trace_cmd import in tracing feature in execution contextbit-aloo-0/+2
2025-06-11Auto merge of #141942 - ShoyuVanilla:smir-repr, r=oli-obkbors-6/+132
Implement representation options to smir Resolves rust-lang/project-stable-mir#89
2025-06-11Merge pull request #2463 from rust-lang/tshepang-patch-1Tshepang Mbambo-1/+1
that was phrased like a separate sentence
2025-06-11that was phrased like a separate sentenceTshepang Mbambo-1/+1
2025-06-11Auto merge of #142090 - compiler-errors:perf-stable-root-var, r=lcnrbors-17/+6
Make root vars more stable Never resolve a ty/ct vid to a higher vid as its root. This should make the optimization in rust-lang/rust#141500 more "stable" when there are a lot of vars flying around. r? `@ghost`
2025-06-11feat: Add `bit_width` for unsigned integer typesShun Sakai-0/+33
2025-06-10Auto merge of #141883 - oli-obk:remove-check-mod-loops, r=nnethercotebors-271/+272
Remove check_mod_loops query and run the checks per-body instead This analysis is older than my first rustc contribution I believe. It was never querified. Ideally we'd merge it into the analysis happening within typeck anyway (typeck just uses span_delayed_bug instead of erroring), but I didn't want to do that within this PR that also moves things around and subtly changes diagnostic ordering.
2025-06-10Remove unneeded `FunctionCx` from some codegen methodsScott McMurray-96/+94
No changes; just removing the `self` that wasn't needed.
2025-06-10remove ice group pings from `triagebot.toml`cyrgani-23/+0
2025-06-10Auto merge of #142292 - RalfJung:miri-sync, r=RalfJungbors-229/+420
Miri subtree update r? `@ghost`
2025-06-11Merge pull request #2462 from lolbinarycat/patch-2许杰友 Jieyou Xu (Joe)-1/+2
2025-06-10Remove unneeded `check_id` calls as they are already called in `visit_id` in ↵Guillaume Gomez-2/+0
`EarlyContextAndPass` type