-
Notifications
You must be signed in to change notification settings - Fork 105
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 our policy on target architecture soundness #383
Comments
Given zerocopy's ethos of always, definitely being sound, we should perhaps take the even more conservative route of producing a |
Hmm very good point. Want to edit the text/title of this issue to track that broader task? I'm thinking we could change the error message to something that conveys:
It'd also be good to track potential support by target so we have a place to write the note about SPIR-V so we don't forget and spuriously re-enable support. Looks like |
TODO: Figure out how to make sure we block the next minor version release on adding back all of the targets that people actually rely on. Makes progress on #383
Document our policies on soundness and MSRV. Closes #383
Document our policies on soundness and MSRV. Closes #383
Document our policies on soundness and MSRV. Closes #383
Document our policies on soundness and MSRV. Closes #383
Document our policies on soundness and MSRV. Closes #383
Document our policies on soundness and MSRV. Closes google#383
Closed in #485 |
As described in #61, we pin the soundness of zerocopy and of the code generated by zerocopy-derive only on the Rust reference and standard library documentation. Unfortunately, it turns out that the Rust reference and stdlib docs make guarantees which are not actually upheld on some target architectures. We originally considered attempting to only compile on targets which we could either validate matched the reference or at least which had a promise from Rust that they matched the reference. It turns out that both of those are non-starters.
Instead, this issue tracks:
The text was updated successfully, but these errors were encountered: