google / google/zerocopy

Implement `Immutable` for `UnsafeCell<()>`?

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

Description

IIUC the intention of `UnsafeCell`'s design is for it to have no effect on zero-sized memory regions. However, I'm not sure if that's actually true right now - it might be the case that rustc or Miri may not play nicely with this assumption.

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.