Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try-perf
/
.
/
library
/
std
/
src
/
sys
/
pal
/
teeos
/
conf.rs
blob: 1d13a283c458b9453a4877eaadf5e98904215401 [
file
] [
log
] [
blame
] [
edit
]
// Hardcoded to return 4096, since `sysconf` is only implemented as a stub.
pub
fn
page_size
()
->
usize
{
// unsafe { libc::sysconf(libc::_SC_PAGESIZE) as usize };
4096
}