aboutsummaryrefslogtreecommitdiff
path: root/src/arch/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/mod.rs')
-rw-r--r--src/arch/mod.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/arch/mod.rs b/src/arch/mod.rs
new file mode 100644
index 0000000..5735bed
--- /dev/null
+++ b/src/arch/mod.rs
@@ -0,0 +1,14 @@
+#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
+mod x86;
+#[cfg(target_arch = "x86")]
+pub use x86::*;
+
+#[cfg(target_arch = "x86_64")]
+mod x86_64;
+#[cfg(target_arch = "x86_64")]
+pub use x86_64::*;
+
+#[cfg(target_arch = "riscv64")]
+mod riscv64;
+#[cfg(target_arch = "riscv64")]
+pub use riscv64::*;