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