google / google/zerocopy

Remove `Immutable` bound on unions

Open
#1,015 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.6k
Forks
179
Avg merge
1d 19h
Merged PRs (30d)
29

Description

Steps:
- [ ] Revise `UnsafeCell` safety precondition on `Ptr::project`
- Add this to #999?
- [ ] Revise `is_bit_valid` in union derive to `Ptr::into_exclusive_or_post_monomorphization_error` and remove `Immutable` bounds on fields.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.