Remove workaround for rust-lang/rust#25544.

master
whitequark 2016-08-11 01:34:53 +00:00 committed by edef
parent ca43ba0498
commit 23cf17865d
1 changed files with 4 additions and 11 deletions

View File

@ -2,17 +2,10 @@
// Copyright (c) edef <edef@edef.eu>,
// whitequark <whitequark@whitequark.org>
// 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;