diff --git a/src/arch/common.rs b/src/arch/common.rs index 8710a3e..907e01a 100644 --- a/src/arch/common.rs +++ b/src/arch/common.rs @@ -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: *const F) { ptr::read(f)() diff --git a/src/arch/mod.rs b/src/arch/mod.rs index 206d44a..9d3242b 100644 --- a/src/arch/mod.rs +++ b/src/arch/mod.rs @@ -1,7 +1,7 @@ // Copyright (c) 2015, edef // 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 {}