You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 5, 2024. It is now read-only.
On IRC, @mystor asked me whether, given some zero-sized type ZST, it would be legal to represent Box<ZST> using some arbitrary non-null value, or must it be a particular value (e.g., 1)?
For example, if there is a pointer p to some stack variable, can one write unsafe { Box::from_raw(p as *mut ZST) } and have that be a legal box?