|
@@ -51,3 +51,11 @@ mod aarch64 {
|
|
|
}
|
|
|
#[cfg(target_arch = "aarch64")]
|
|
|
pub use aarch64::*;
|
|
|
+
|
|
|
+#[cfg(not(any(
|
|
|
+ target_arch = "x86_64",
|
|
|
+ target_arch = "riscv64",
|
|
|
+ target_arch = "riscv32",
|
|
|
+ target_arch = "aarch64"
|
|
|
+)))]
|
|
|
+compile_error!("Current architecture is not supported");
|