Skip to content

Commit

Permalink
Remove workaround for rust-lang/rust#25544.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark authored and edef1c committed Aug 13, 2016
1 parent ca43ba0 commit 23cf178
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/arch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,10 @@
// Copyright (c) edef <[email protected]>,
// whitequark <[email protected]>
// 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;
pub use self::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;

0 comments on commit 23cf178

Please sign in to comment.