xref: /DragonOS/kernel/crates/bitmap/src/lib.rs (revision 4b0170bd6bb374d0e9699a0076cc23b976ad6db7)
1 #![no_std]
2 #![feature(core_intrinsics)]
3 #![allow(incomplete_features)] // for const generics
4 #![feature(generic_const_exprs)]
5 #![allow(clippy::needless_return)]
6 
7 #[macro_use]
8 extern crate alloc;
9 
10 mod alloc_bitmap;
11 mod bitmap_core;
12 mod static_bitmap;
13 pub mod traits;
14 pub use alloc_bitmap::AllocBitmap;
15 pub use static_bitmap::StaticBitmap;
16