-
Notifications
You must be signed in to change notification settings - Fork 2
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 (v2) (#5)
* 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)] * Ignore clippy::forget_copy * Patch for rust-lang/rust#101932 * feature(let_else) is stable in 1.66 * Annotated traits with #[const_trait] * Strengthen TypeGraphLayout bounds * Small clippy fixes * Fix TypeLayoutGraph::new const bound
- Loading branch information
Showing
27 changed files
with
1,431 additions
and
702 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
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.