Open
Description
This issue is a repository of TODOs which are blocked on updating to a particular MSRV. In addition to those listed here, also see TODO(#67)
comments in the source code.
- In
FromZeroes::new_box_slice_zeroed
, remove defensive programming which currently works around a bug inLayout::from_size_align
- Make
MaybeValid::as_slice
(pending in #279)const
once our MSRV is >= 1.64.0, whenslice_from_raw_parts
was stabilized asconst
- Some instances of
#[allow(clippy::as_conversions)]
(pending in the current draft of #196) are spurious, and more recent versions of Clippy don't fire in those locations. - Some
unsafe
blocks in macros are marked with#[allow(clippy::undocumented_unsafe_blocks)]
; more recent versions of Clippy don't fire in those locations. - Once our MSRV is 1.64, we can use this feature to mimic this setting in zerocopy-derive's Cargo.toml in order to cut down on duplication between it and zerocopy's Cargo.toml. This should also allow us to remove some of the CI logic that verifies that metadata in both files matches, since this will be true automatically.
- Make any functions that use these
const
: Stabilizeconst_maybe_uninit_zeroed
andconst_mem_zeroed
rust-lang/rust#116218 - Use
ptr::from_ref
andptr::from_mut
- Use
&mut
references in a const context - 1.81: Replace
#[allow(...)]
with#[expect(...)]
where appropriate
Metadata
Metadata
Assignees
Labels
No labels