move architecture specifics into arch directory

This commit is contained in:
edef 2015-04-16 06:17:03 -04:00
parent f24e8e7911
commit 997a4a7765
5 changed files with 7 additions and 1 deletions

7
src/arch/mod.rs Normal file
View File

@ -0,0 +1,7 @@
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
pub use self::imp::Registers;
#[cfg(target_arch = "x86_64")]
#[path = "x86_64/mod.rs"]
mod imp;

View File

@ -23,7 +23,6 @@ pub mod stack;
mod debug; mod debug;
#[cfg(target_arch = "x86_64")]
mod arch; mod arch;
#[cfg(feature = "os")] #[cfg(feature = "os")]