mallockit 0.1.0

A framework for building malloc implementations in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(not(any(
    target_os = "macos",
    all(target_os = "windows", target_pointer_width = "64")
)))]
pub const LOG_MIN_ALIGNMENT: usize = 4; // should be 8?
#[cfg(any(
    target_os = "macos",
    all(target_os = "windows", target_pointer_width = "64")
))]
pub const LOG_MIN_ALIGNMENT: usize = 4;

pub const MIN_ALIGNMENT: usize = 1 << LOG_MIN_ALIGNMENT;