File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
library/stdarch/crates/std_detect/tests Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,20 @@ fn aarch64_linux() {
8383 println ! ( "sm4: {}" , is_aarch64_feature_detected!( "sm4" ) ) ;
8484}
8585
86+ #[ test]
87+ #[ cfg( all( target_arch = "aarch64" , target_os = "windows" ) ) ]
88+ fn aarch64_windows ( ) {
89+ println ! ( "asimd: {:?}" , is_aarch64_feature_detected!( "asimd" ) ) ;
90+ println ! ( "crc: {:?}" , is_aarch64_feature_detected!( "crc" ) ) ;
91+ println ! ( "lse: {:?}" , is_aarch64_feature_detected!( "lse" ) ) ;
92+ println ! ( "dotprod: {:?}" , is_aarch64_feature_detected!( "dotprod" ) ) ;
93+ println ! ( "jsconv: {:?}" , is_aarch64_feature_detected!( "jsconv" ) ) ;
94+ println ! ( "rcpc: {:?}" , is_aarch64_feature_detected!( "rcpc" ) ) ;
95+ println ! ( "aes: {:?}" , is_aarch64_feature_detected!( "aes" ) ) ;
96+ println ! ( "pmull: {:?}" , is_aarch64_feature_detected!( "pmull" ) ) ;
97+ println ! ( "sha2: {:?}" , is_aarch64_feature_detected!( "sha2" ) ) ;
98+ }
99+
86100#[ test]
87101#[ cfg( all( target_arch = "powerpc" , target_os = "linux" ) ) ]
88102fn powerpc_linux ( ) {
You can’t perform that action at this time.
0 commit comments