xref: /wasmtime-44.0.1/cranelift/bitset/src/lib.rs (revision b3636ff6)
1 //! Bitsets for Cranelift.
2 //!
3 //! This module provides two bitset implementations:
4 //!
5 //! 1. [`ScalarBitSet`]: A small bitset built on top of a single integer.
6 //!
7 //! 2. [`CompoundBitSet`]: A bitset that can store more bits than fit in a
8 //!    single integer, but which internally has heap allocations.
9 
10 #![deny(missing_docs)]
11 #![no_std]
12 
13 extern crate alloc;
14 
15 pub mod compound;
16 pub mod scalar;
17 
18 pub use compound::CompoundBitSet;
19 pub use scalar::ScalarBitSet;
20