Skip to content

Commit 0e359f5

Browse files
whitequarkedef1c
authored andcommitted
Remove workaround for rust-lang/rust#25544.
1 parent b79a25c commit 0e359f5

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

src/arch/mod.rs

+4-11
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,10 @@
22
// Copyright (c) Nathan Zadoks <[email protected]>,
33
// whitequark <[email protected]>
44
// See the LICENSE file included in this distribution.
5-
pub use self::imp::*;
6-
7-
// rust-lang/rust#25544
8-
// #[cfg_attr(target_arch = "x86", path = "x86.rs")]
9-
// #[cfg_attr(target_arch = "x86_64", path = "x86_64.rs")]
10-
// mod imp;
115

12-
#[cfg(target_arch = "x86")]
13-
#[path = "x86.rs"]
14-
mod imp;
6+
pub use self::imp::*;
157

16-
#[cfg(target_arch = "x86_64")]
17-
#[path = "x86_64.rs"]
8+
#[allow(unused_attributes)] // rust-lang/rust#35584
9+
#[cfg_attr(target_arch = "x86", path = "x86.rs")]
10+
#[cfg_attr(target_arch = "x86_64", path = "x86_64.rs")]
1811
mod imp;

0 commit comments

Comments
 (0)