1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! Bitsets for Cranelift.
//!
//! This module provides two bitset implementations:
//!
//! 1. [`ScalarBitSet`]: A small bitset built on top of a single integer.
//!
//! 2. [`CompoundBitSet`]: A bitset that can store more bits than fit in a
//!    single integer, but which internally has heap allocations.

#![deny(missing_docs)]
#![no_std]

extern crate alloc;

pub mod compound;
pub mod scalar;

pub use compound::CompoundBitSet;
pub use scalar::ScalarBitSet;