Ver código fonte

cfg-gate x86_64 module

Gary Guo 3 anos atrás
pai
commit
61275d40b8
1 arquivos alterados com 2 adições e 1 exclusões
  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::*;