-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix undefined behaviour by removing
MayebUninit
usage (#4)
* Experiments with less uninit * Some more experimentation * Some progress on box, ptr, ref (still no mut ref) * Upgraded MSRV to 1.60.0 * Added more examples * Mutable ref with const uninit fn * Clean up const generation * Removed core->alloc dependency for ptr+ref * Removed extraneous Static type alias * Feature `const_ptr_offset_from` stabilised in 1.65.0 * Added back derive attrs for custom PhantomData * Cleaned up some TODOs * Added the ! type * Added the ground attribute * Use power tools in CI * Add miri to CI * Explicit miri component in CI * Removed rust-toolchain * Clarified unsafe uninit() API by constructing MaybeUninit * Added initial inhabited calculation * Implemented uninit() for uninhabited types * Fixed enum + union uninit order with #[layout(bound)]
- Loading branch information
Showing
25 changed files
with
1,417 additions
and
705 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.