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

Document raw pointer bit validity #1362

Open
joshlf opened this issue May 20, 2023 · 0 comments
Open

Document raw pointer bit validity #1362

joshlf opened this issue May 20, 2023 · 0 comments

Comments

@joshlf
Copy link
Contributor

joshlf commented May 20, 2023

Currently, the reference does not provide any guarantees about which bit patterns constitute valid instances of raw pointers to Sized types (ie, thin pointers), and does not provide any guarantees about whether thin raw pointers can contain padding/uninitialized bytes. It would be good if both were guaranteed, e.g. for cases like google/zerocopy#171.

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