Commit Graph

3 Commits

Author SHA1 Message Date
zachs18
1039388f0b
Fix soundness issue of TransparentWrapper derive macro. (#173)
Uses the compiler to check that all non-wrapped fields are actually 1-ZSTs,
and uses Zeroable to check that all non-wrapped fields are "conjurable".

Additionally, relaxes the bound of `PhantomData<T: Zeroable>: Zeroable` to all `T: ?Sized`.
2023-02-17 12:24:16 -07:00
Lokathor
6356cf1d3a update gitignore for bytemuck_derive 2020-08-20 19:45:36 -06:00
Lokathor
760a00cabd base files 2019-09-19 19:09:31 -06:00