Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
multiversion 0.6.1 - Docs.rs
[go: Go Back, main page]

multiversion 0.6.1

Easy function multiversioning
Documentation
1
2
3
4
5
6
7
use multiversion::are_cpu_features_detected;

#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
#[test]
fn detect_x86() {
    let _: bool = are_cpu_features_detected!("sse", "avx");
}