pub static PAGE_SIZE: LazyLock<NonZeroUsize>
Expand description
This retrieves the system’s memory page size.
It is just page_size::get
internally.
§Panics
Accessing this LazyLock
will panic if the OS returns of page size of 0
(impossible?).
pub static PAGE_SIZE: LazyLock<NonZeroUsize>
This retrieves the system’s memory page size.
It is just page_size::get
internally.
Accessing this LazyLock
will panic if the OS returns of page size of 0
(impossible?).