1
0
Fork 0

it's fine to inline a simple FFI call

This commit is contained in:
edef 2015-04-27 17:19:13 +02:00
parent 2736479db0
commit 6d1c5d0df1
1 changed files with 0 additions and 1 deletions

View File

@ -11,7 +11,6 @@ use super::page_size;
use core::ptr; use core::ptr;
#[cold] #[cold]
#[inline(never)]
pub fn sys_page_size() -> usize { pub fn sys_page_size() -> usize {
unsafe { unsafe {
libc::sysconf(libc::_SC_PAGESIZE) as usize libc::sysconf(libc::_SC_PAGESIZE) as usize