Skip to content

transmute should also assume non-null pointers#136735

Merged
bors merged 1 commit intorust-lang:masterfrom
scottmcm:transmute-nonnull
Feb 14, 2025
Merged

transmute should also assume non-null pointers#136735
bors merged 1 commit intorust-lang:masterfrom
scottmcm:transmute-nonnull

Conversation

@scottmcm
Copy link
Copy Markdown
Member

@scottmcm scottmcm commented Feb 8, 2025

Previously it only did integer-ABI things, but this way it does data pointers too. That gives more information in general to the backend, and allows slightly simplifying one of the helpers in slice iterators.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. perf-regression-triaged The performance regression has been triaged. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

10 participants