Przeglądaj źródła

cfg-gate x86_64 module

Gary Guo 3 lat temu
rodzic
commit
61275d40b8
1 zmienionych plików z 2 dodań i 1 usunięć
  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::*;