Crate cpufeatures
source · [−]Expand description
This crate provides macros for runtime CPU feature detection. It’s intended
+
Crate cpufeatures
Crate cpufeatures
source · [−]Expand description
This crate provides macros for runtime CPU feature detection. It’s intended
as a stopgap until Rust RFC 2725 adding first-class target feature detection
macros to libcore is implemented.
Supported target architectures:
+Supported target architectures
+*NOTE: target features with an asterisk are unstable (nightly-only) and +subject to change to match upstream name changes in the Rust standard +library.
+aarch64
+Linux, iOS, and macOS/ARM only (ARM64 does not support OS-independent feature detection)
+Target features:
-
-
aarch64: Linux and macOS/M4 only (ARM64 does not support OS-independent feature detection) --
-
- Target features:
aes,sha2,sha3
+ aes*
+sha2*
+sha3*
-- Target features:
x86/x86_64: OS independent andno_std-friendly +
+x86/x86_64OS independent and
+no_std-friendlyTarget features:
-
-
- Target features:
adx,aes,avx,avx2,bmi1,bmi2,fma, -mmx,pclmulqdq,popcnt,rdrand,rdseed,sgx,sha,sse, -sse2,sse3,sse4.1,sse4.2,ssse3
-
+- Target features:
adx
+aes
+avx
+avx2
+avx512bw*
+avx512cd*
+avx512dq*
+avx512er*
+avx512f*
+avx512ifma*
+avx512pf*
+avx512vl*
+bmi1
+bmi2
+fma,
+mmx
+pclmulqdq
+popcnt
+rdrand
+rdseed
+sgx
+sha
+sse
+sse2
+sse3
+sse4.1
+sse4.2
+ssse3
If you would like detection support for a target feature which is not on this list, please open a GitHub issue.
diff --git a/cpufeatures/macro.new.html b/cpufeatures/macro.new.html index e858adf7f05..a75dbd57bb2 100644 --- a/cpufeatures/macro.new.html +++ b/cpufeatures/macro.new.html @@ -1,5 +1,5 @@Macro cpufeatures::new
source · [−]macro_rules! new {
+ 
Macro cpufeatures::new
source · [−]macro_rules! new {
($mod_name:ident, $($tf:tt),+ $(,)?) => { ... };
}Expand description
Create module with CPU feature detection code.
diff --git a/crates.js b/crates.js index 201ea7cf9b2..f401792690b 100644 --- a/crates.js +++ b/crates.js @@ -1 +1 @@ -window.ALL_CRATES = ["aead","aes","bitflags","block_buffer","block_modes","block_padding","byteorder","cbor_smol","cfg_if","chacha20","chacha20poly1305","cipher","cosey","cpufeatures","crypto_bigint","crypto_mac","cstr_core","cty","delog","der","der_derive","des","digest","ecdsa","ed25519","elliptic_curve","embedded_hal","ff","flexiber","flexiber_derive","generic_array","group","half","hash32","heapless","heapless_bytes","hex_literal","hmac","interchange","littlefs2","littlefs2_sys","lock_api","log","memchr","nb","opaque_debug","p256","p256_cortex_m4","p256_cortex_m4_sys","poly1305","postcard","postcard_cobs","proc_macro2","quote","rand_core","salty","scopeguard","serde","serde_cbor","serde_derive","serde_indexed","serde_repr","sha1","sha2","signature","spin","stable_deref_trait","subtle","syn","synstructure","trussed","typenum","unicode_ident","unicode_xid","universal_hash","void","zeroize","zeroize_derive"]; \ No newline at end of file +window.ALL_CRATES = ["aead","aes","bitflags","block_buffer","block_modes","block_padding","byteorder","cbor_smol","cfg_if","chacha20","chacha20poly1305","cipher","cosey","cpufeatures","crypto_bigint","crypto_mac","cstr_core","cty","delog","der","der_derive","des","digest","ecdsa","ed25519","elliptic_curve","embedded_hal","ff","flexiber","flexiber_derive","generic_array","group","half","hash32","heapless","heapless_bytes","hex_literal","hmac","interchange","littlefs2","littlefs2_sys","lock_api","log","memchr","nb","opaque_debug","p256","p256_cortex_m4","p256_cortex_m4_sys","poly1305","postcard","postcard_cobs","proc_macro2","quote","rand_core","salty","scopeguard","serde","serde_cbor","serde_derive","serde_indexed","serde_repr","sha1","sha2","signature","spin","stable_deref_trait","subtle","synstructure","trussed","typenum","unicode_ident","unicode_xid","universal_hash","void","zeroize","zeroize_derive"]; \ No newline at end of file diff --git a/generic_array/functional/trait.FunctionalSequence.html b/generic_array/functional/trait.FunctionalSequence.html index 8703541d6da..0a13959a6a5 100644 --- a/generic_array/functional/trait.FunctionalSequence.html +++ b/generic_array/functional/trait.FunctionalSequence.html @@ -15,4 +15,4 @@ initializing a newGenericSequence with the result of the zipped ma
will be dropped, AND any unused elements in the source sequences will also be dropped.