bytemuck/tests
Marvin Löbel 92ce415317
Prevent try_zeroed_box<T>() from reserving size_of<T>() space on the stack. (#43)
* Add test

* Change try_zeroed_box implementation to not allocate space for T on the stack

* Add second test
2020-10-21 14:11:09 -06:00
..
cast_slice_tests.rs Add more tests, overhaul CI, and fix plug soundness hole in bytemuck::offset_of! (#38) 2020-09-06 18:56:41 -06:00
derive.rs add basic derive macro for Pod, Zeroable and TransparentWrapper for structs (#30) 2020-08-20 19:04:36 -06:00
doc_tests.rs Duplicate the doctests for the sake of miri 2020-01-11 08:01:58 -08:00
offset_of_tests.rs update offset_of to have 2-arg and 3-arg versions. 2020-07-23 20:21:09 -06:00
std_tests.rs Prevent try_zeroed_box<T>() from reserving size_of<T>() space on the stack. (#43) 2020-10-21 14:11:09 -06:00