Rollup of 7 pull requests#158225
Closed
JonathanBrouwer wants to merge 18 commits into
Closed
Conversation
It doesn't access the Session anyway.
This will make it easier to change how proc-macros are implemented on the rustc side. For example allowing support for wasm proc-macros without duplicating the implementation between proc-macro-srv and rustc.
…ol,folkertdev bootstrap: add bootstrap step to run intrinsic-test in CI This PR ports `library/stdarch/crates/intrinsic-test` crate into the bootstrap test runner as a step, so that we can run the intrinsic-test suite via x.py test. Changes -: Ports `intrinsic-test` from the stdarch crate into the bootstrap system as a new test step so it runs inside the existing `x86_64-gnu` and `aarch64-gnu` CI jobs . Added `intrinsic-test` in `src/bootstrap/src/core/build_steps/test.rs` . Registers `intrinsic-test` as a bootstrap tool in `tool.rs` . Installs `clang`, `lld`, and Intel SDE in the respective Dockerfiles. r? @Kobzol try-job: x86_64-gnu
…k-Simulacrum Move proc-macro dlopen from proc-macro-srv to rustc_metadata This will make it easier to change how proc-macros are implemented on the rustc side. For example allowing support for wasm proc-macros without duplicating the implementation between proc-macro-srv and rustc.
…ap-change, r=Kobzol rebuild LLVM when `bootstrap.toml` config changes When using a local build of LLVM, previously changes in `bootstrap.toml` would not trigger an LLVM rebuild (e.g. when adding an additional target, or enabling `assertions`). Create a cache key based on the config, and incorporate it into the hash that is used to decide when to rebuild. r? Kobzol
Don't try to remove assignments in SimplifyComparisonIntegral The pass tried to opportunistically clean up an unnecessary assign statement if there's no other use of the comparison folded into a `switchInt`. The reasoning was that `switchInt(move _N)` prevents uses of `_N` in other blocks. The immediate problem is that the pass didn't check for other uses of the comparison result *in the same block*. This PR drops the cleanup logic entirely to fix rust-lang#158206. One could try to salvage the cleanup by doing another scan through the basic block and looking for other uses of the temporary. However, the other half of the reasoning (`move` prevents later uses) is also dubious. As the documentation of `Operand::Move` says: > This may additionally overwrite the place with uninit bytes, depending on how we decide in [UCG#188](rust-lang/unsafe-code-guidelines#188). You should not emit MIR that may attempt a subsequent second load of this place without first re-initializing it. This does not justify assuming "moves makes place uninitialized" semantics for the purpose of optimizations. At least for now, it doesn't seem possible to do this cleanup soundly without a whole-function analysis that looks at all uses, i.e., a general dead code elimination pass.
…load-artifact-8.x, r=Mark-Simulacrum Update actions/download-artifact action to v8.0.1 This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/download-artifact](https://redirect.github.com/actions/download-artifact) | action | patch | `v8` → `v8.0.1` | --- ### Release Notes <details> <summary>actions/download-artifact (actions/download-artifact)</summary> ### [`v8.0.1`](https://redirect.github.com/actions/download-artifact/releases/tag/v8.0.1) [Compare Source](https://redirect.github.com/actions/download-artifact/compare/v8...v8.0.1) #### What's Changed - Support for CJK characters in the artifact name by [@&rust-lang#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&rust-lang#8203;471](https://redirect.github.com/actions/download-artifact/pull/471) - Add a regression test for artifact name + content-type mismatches by [@&rust-lang#8203;danwkennedy](https://redirect.github.com/danwkennedy) in [#&rust-lang#8203;472](https://redirect.github.com/actions/download-artifact/pull/472) **Full Changelog**: <actions/download-artifact@v8...v8.0.1> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/rust-lang/rust). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjIzMS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
…, r=Mark-Simulacrum Update backtrace submodule to pick up AIX related fixes. This change updates the backtrace submodule, primarily to pick up the AIX related fixes from rust-lang/backtrace-rs#757.
Use the target checking infrastructure for the diagnostic attributes The goal of this is a few things: * Make the diagnostic attributes' target checking cleaner and more declarative, making it harder to make mistakes here * Make progress towards removing the `ALL_TARGETS` list r? @mejrs
Contributor
Author
Contributor
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Jun 21, 2026
Rollup of 7 pull requests try-job: dist-various-1 try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: x86_64-mingw-1 try-job: i686-msvc-2
Contributor
|
This pull request was unapproved due to being closed. |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
bootstrap.tomlconfig changes #157836 (rebuild LLVM whenbootstrap.tomlconfig changes)r? @ghost
Create a similar rollup