We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b79a25c commit 0e359f5Copy full SHA for 0e359f5
src/arch/mod.rs
@@ -2,17 +2,10 @@
2
// Copyright (c) Nathan Zadoks <[email protected]>,
3
// whitequark <[email protected]>
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