1 //! Run-time feature detection on Linux
5 #[cfg(feature = "std_detect_file_io")]
9 if #[cfg(target_arch = "aarch64")] {
11 pub use self::aarch64::check_for;
12 } else if #[cfg(target_arch = "arm")] {
14 pub use self::arm::check_for;
15 } else if #[cfg(any(target_arch = "mips", target_arch = "mips64"))] {
17 pub use self::mips::check_for;
18 } else if #[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))] {
20 pub use self::powerpc::check_for;
22 use crate::detect::Feature;
23 /// Performs run-time feature detection.
24 pub fn check_for(_x: Feature) -> bool {