Skip to content

Conversation

the8472
Copy link
Member

@the8472 the8472 commented Oct 7, 2025

It helps const eval performance rust-lang/miri#4616, debug builds and the gcc backend.

Previously attempted in #83245 but reverted due to unsoundness #87891 around potentially-uninitialized types. This PR only handles primitives where the problem does not arise.

split off from #147294

LLVM generally can do this on its own, but it helps miri and other backends.
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Oct 7, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 7, 2025

r? @scottmcm

rustbot has assigned @scottmcm.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants