about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/tests/cpu-detection.rs
diff options
context:
space:
mode:
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>2020-03-29 20:28:17 +0900
committerGitHub <noreply@github.com>2020-03-29 12:28:17 +0100
commit09ef01ade10c9d878062eb93f230de8042b4d3ec (patch)
tree7871f69ed9f188d3142e1ccf1c8783a328145611 /library/stdarch/crates/std_detect/tests/cpu-detection.rs
parente367bcd7f90ea5e0e655d94e19480fa1eddbc35e (diff)
downloadrust-09ef01ade10c9d878062eb93f230de8042b4d3ec.tar.gz
rust-09ef01ade10c9d878062eb93f230de8042b4d3ec.zip
Add crypto target feature detection to arm32 (#833)
Diffstat (limited to 'library/stdarch/crates/std_detect/tests/cpu-detection.rs')
-rw-r--r--library/stdarch/crates/std_detect/tests/cpu-detection.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/stdarch/crates/std_detect/tests/cpu-detection.rs b/library/stdarch/crates/std_detect/tests/cpu-detection.rs
index 9be40542c96..b59ed32e12d 100644
--- a/library/stdarch/crates/std_detect/tests/cpu-detection.rs
+++ b/library/stdarch/crates/std_detect/tests/cpu-detection.rs
@@ -25,6 +25,7 @@ fn arm_linux() {
     println!("neon: {}", is_arm_feature_detected!("neon"));
     println!("pmull: {}", is_arm_feature_detected!("pmull"));
     println!("crc: {}", is_arm_feature_detected!("crc"));
+    println!("crypto: {}", is_arm_feature_detected!("crypto"));
 }
 
 #[test]