diff --git a/src/arch/mod.rs b/src/arch/mod.rs index 3d7fe4e..a5420e3 100644 --- a/src/arch/mod.rs +++ b/src/arch/mod.rs @@ -2,17 +2,10 @@ // Copyright (c) edef , // whitequark // See the LICENSE file included in this distribution. + pub use self::imp::*; -// rust-lang/rust#25544 -// #[cfg_attr(target_arch = "x86", path = "x86.rs")] -// #[cfg_attr(target_arch = "x86_64", path = "x86_64.rs")] -// mod imp; - -#[cfg(target_arch = "x86")] -#[path = "x86.rs"] -mod imp; - -#[cfg(target_arch = "x86_64")] -#[path = "x86_64.rs"] +#[allow(unused_attributes)] // rust-lang/rust#35584 +#[cfg_attr(target_arch = "x86", path = "x86.rs")] +#[cfg_attr(target_arch = "x86_64", path = "x86_64.rs")] mod imp;