From 6d1c5d0df1a857b115357eeec0428655eeda0f7e Mon Sep 17 00:00:00 2001 From: edef Date: Mon, 27 Apr 2015 17:19:13 +0200 Subject: [PATCH] it's fine to inline a simple FFI call --- src/os/sys/unix.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/os/sys/unix.rs b/src/os/sys/unix.rs index f85c700..cd26b50 100644 --- a/src/os/sys/unix.rs +++ b/src/os/sys/unix.rs @@ -11,7 +11,6 @@ use super::page_size; use core::ptr; #[cold] -#[inline(never)] pub fn sys_page_size() -> usize { unsafe { libc::sysconf(libc::_SC_PAGESIZE) as usize