bytemuck/derive
Dennis Duda f1571512d2
fix try_pod_read_unaligned... never having worked correctly (#138)
It seems like a copy-paste error has happened between `try_from_bytes`/`try_from_bytes_mut` and `try_pod_read_unaligned`, causing `internal::try_pod_read_unaligned` to try to read a &T::Bits instead of a T::Bits, usually failing with a `SizeMismatch` error. In the worst case, this allows UB in safe code by having a type allowing any bit pattern and being pointer-sized.
2022-10-30 16:06:55 -06:00
..
src Fix regression #127: support align in reprs again (#128) 2022-08-16 12:42:07 -06:00
tests fix try_pod_read_unaligned... never having worked correctly (#138) 2022-10-30 16:06:55 -06:00
Cargo.toml (cargo-release) version 1.2.1 2022-08-16 21:01:26 -06:00
changelog.md derive changlog. 2022-08-16 21:00:48 -06:00
LICENSE-APACHE Replace LICENCES-* symlinks with a licence copy. (#118) 2022-07-13 06:53:17 -06:00
LICENSE-MIT Replace LICENCES-* symlinks with a licence copy. (#118) 2022-07-13 06:53:17 -06:00
LICENSE-ZLIB Replace LICENCES-* symlinks with a licence copy. (#118) 2022-07-13 06:53:17 -06:00
README.md bytemuck_derive: readme 2020-08-20 19:46:22 -06:00

bytemuck_derive

Derive macros for bytemuck traits.