summaryrefslogtreecommitdiff
path: root/kernel/src/arch/mod.rs
blob: d23dd81e55f6f71c71ccd523b395bfeff8cc1cff (plain)
1
2
3
4
5
6
7
8
9
cfg_if::cfg_if! {
    if #[cfg(not(target_os = "none"))] {
        mod hosted;
        pub use self::hosted::*;
    } else if #[cfg(target_arch = "riscv64")] {
        mod riscv64;
        pub use self::riscv64::*;
    }
}