|
|
@ -2,6 +2,12 @@ |
|
|
|
|
|
|
|
|
|
|
|
extern crate libc; |
|
|
|
extern crate libc; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Call this somewhere to force Rust to link this module.
|
|
|
|
|
|
|
|
/// The call doesn't need to execute, just exist.
|
|
|
|
|
|
|
|
///
|
|
|
|
|
|
|
|
/// See https://github.com/rust-lang/rust/issues/47384
|
|
|
|
|
|
|
|
pub fn init() {} |
|
|
|
|
|
|
|
|
|
|
|
#[no_mangle] |
|
|
|
#[no_mangle] |
|
|
|
extern "C" fn posix_memalign( |
|
|
|
extern "C" fn posix_memalign( |
|
|
|
memptr: *mut *mut libc::c_void, |
|
|
|
memptr: *mut *mut libc::c_void, |
|
|
|