浏览代码

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::*;