We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca43ba0 commit 23cf178Copy full SHA for 23cf178
src/arch/mod.rs
@@ -2,17 +2,10 @@
2
// Copyright (c) edef <edef@edef.eu>,
3
// whitequark <whitequark@whitequark.org>
4
// 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;
11
12
-#[cfg(target_arch = "x86")]
13
-#[path = "x86.rs"]
14
-mod imp;
+pub use self::imp::*;
15
16
-#[cfg(target_arch = "x86_64")]
17
-#[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")]
18
mod imp;
0 commit comments