aligned-vmem 0.2.0

Cross-platform aligned anonymous virtual memory: reserve, commit, decommit, and release power-of-two-aligned spans via mmap/VirtualAlloc. Zero dependencies, miri-friendly.
Documentation
1
2
3
4
5
6
7
8
use super::page::PAGE;

/// Alias for [`PAGE`] under a name that doesn't imply "the OS page size".
///
/// Prefer this name in new code — it makes explicit that the value is the
/// *minimum* decommit/recommit granularity, not necessarily the actual OS page
/// size (which may be larger — see [`page_size`](crate::page_size::page_size)).
pub const MIN_PAGE: usize = PAGE;