Explorar o código

cfg-gate x86_64 module

Gary Guo %!s(int64=3) %!d(string=hai) anos
pai
achega
61275d40b8
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/arch/mod.rs

+ 2 - 1
src/arch/mod.rs

@@ -1,3 +1,4 @@
+#[cfg(target_arch = "x86_64")]
 mod x86_64;
-
+#[cfg(target_arch = "x86_64")]
 pub use x86_64::*;