pass STACK_ALIGN through without exposing it

This commit is contained in:
edef 2015-04-16 07:12:03 -04:00
parent 7adb9e7381
commit 0dd6c8bc32
2 changed files with 2 additions and 2 deletions

View File

@ -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)()

View File

@ -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 {}