24 lines
334 B
Rust
Raw Normal View History

#![no_std]
2023-12-10 20:54:15 +02:00
#![feature(
maybe_uninit_slice,
step_trait,
const_trait_impl,
effects,
slice_ptr_get,
strict_provenance
)]
extern crate alloc;
pub(crate) mod api;
pub mod mem;
pub mod sync;
pub mod util;
2023-09-06 18:48:00 +03:00
#[repr(C)]
pub struct AlignedTo<Align, Bytes: ?Sized> {
pub align: [Align; 0],
pub bytes: Bytes,
}