]>
git.proxmox.com Git - rustc.git/blob - src/stdsimd/stdsimd/arch/detect/os/linux/mod.rs
1 //! Run-time feature detection on Linux
7 if #[cfg(target_arch = "aarch64")] {
9 pub use self::aarch64
::check_for
;
10 } else if #[cfg(target_arch = "arm")] {
12 pub use self::arm
::check_for
;
13 } else if #[cfg(any(target_arch = "mips", target_arch = "mips64"))] {
15 pub use self::mips
::check_for
;
16 } else if #[cfg(target_arch = "powerpc64")] {
18 pub use self::powerpc64
::check_for
;
20 use arch
::detect
::Feature
;
21 /// Performs run-time feature detection.
22 pub fn check_for(_x
: Feature
) -> bool
{