ソースを参照

cfg-gate x86_64 module

Gary Guo 3 年 前
コミット
61275d40b8
1 ファイル変更2 行追加1 行削除
  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::*;