Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better handle strict provenance when it's stabilized #1136

Open
kkysen opened this issue Sep 22, 2024 · 0 comments
Open

better handle strict provenance when it's stabilized #1136

kkysen opened this issue Sep 22, 2024 · 0 comments

Comments

@kkysen
Copy link
Contributor

kkysen commented Sep 22, 2024

#![feature(strict_provenance)] should be stabilized soon (rust-lang/rust#130350), and there are places where we can handle things better than provenance exposing as casts. One such place is #1134 (review), where a bool to ptr cast is always an invalid ptr, and so we know it's non-provenance preserving.

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

No branches or pull requests

1 participant