workspace: move crates under crates
This commit is contained in:
parent
0016bc8cf0
commit
6393fdf3c0
354 changed files with 102 additions and 102 deletions
|
|
@ -1,8 +0,0 @@
|
|||
use {std::sync::LazyLock, uapi::c};
|
||||
|
||||
static PAGE_SIZE: LazyLock<usize> =
|
||||
LazyLock::new(|| uapi::sysconf(c::_SC_PAGESIZE).unwrap_or(4096) as _);
|
||||
|
||||
pub fn page_size() -> usize {
|
||||
*PAGE_SIZE
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue