2023-08-21 17:26:44 +03:00
|
|
|
#![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
|
|
|
|
)]
|
2023-12-10 18:52:33 +02:00
|
|
|
|
|
|
|
extern crate alloc;
|
2023-08-21 17:26:44 +03:00
|
|
|
|
2023-11-30 11:00:51 +02:00
|
|
|
pub(crate) mod api;
|
|
|
|
|
2023-12-10 18:52:33 +02:00
|
|
|
pub mod mem;
|
2023-08-21 17:26:44 +03:00
|
|
|
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,
|
|
|
|
}
|