forked from M-Labs/libfringe
pass STACK_ALIGN through without exposing it
This commit is contained in:
parent
7adb9e7381
commit
0dd6c8bc32
|
@ -5,7 +5,7 @@ use core::mem::{size_of, align_of};
|
|||
use core::cmp::max;
|
||||
use core::ptr;
|
||||
|
||||
use super::STACK_ALIGN;
|
||||
use super::imp::STACK_ALIGN;
|
||||
|
||||
pub unsafe extern "C" fn rust_trampoline<F: FnOnce()>(f: *const F) {
|
||||
ptr::read(f)()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) 2015, edef <edef@edef.eu>
|
||||
// See the LICENSE file included in this distribution.
|
||||
use core::prelude::*;
|
||||
pub use self::imp::{Registers, STACK_ALIGN};
|
||||
pub use self::imp::Registers;
|
||||
|
||||
unsafe impl Send for Registers {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue