Skip to content

[derive] TryFromBytes on unions w/o Immutable #2538

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented May 14, 2025

TODO:

  • Add tests in zerocopy-derive/tests for unions with UnsafeCells
  • Add tests (location TBD) for calling &mut methods on TryFromBytes on
    unions with UnsafeCells

This PR is on branch union-try-from-bytes.

TODO:
- Add tests in zerocopy-derive/tests for unions with UnsafeCells
- Add tests (location TBD) for calling &mut methods on TryFromBytes on
  unions with UnsafeCells

gherrit-pr-id: If86f182f8e3fda5d12d680c400c7a0a7f7095ce4
@joshlf joshlf force-pushed the If86f182f8e3fda5d12d680c400c7a0a7f7095ce4 branch from c5ef163 to db1c3e0 Compare May 19, 2025 17:48
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.

1 participant