blob: bfdfcc7305acd8ca2510979f8f8f8a132a987c63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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::*;
} else {
compile_error!("unsupported platform");
}
}
|