Skip to content

transpile: Use strict provenance APIs for pointer casts#1810

Draft
Rua wants to merge 4 commits into
immunant:masterfrom
Rua:strict-provenance
Draft

transpile: Use strict provenance APIs for pointer casts#1810
Rua wants to merge 4 commits into
immunant:masterfrom
Rua:strict-provenance

Conversation

@Rua
Copy link
Copy Markdown
Contributor

@Rua Rua commented May 16, 2026

The strict provenance APIs changed since the currently used nightly 1.67, so I've selected the API based on the edition, and left comments for when things were changed. Casts involving function pointers are not covered by this, as they use transmutes, and it doesn't seem immediately obvious how to make that work.

@Rua Rua force-pushed the strict-provenance branch 7 times, most recently from 2de95e0 to 2be7f24 Compare May 16, 2026 20:52
@Rua Rua force-pushed the strict-provenance branch from 29777a2 to dcaf8fe Compare May 16, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

better handle strict provenance when it's stabilized

1 participant