File tree 2 files changed +7
-14
lines changed
2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 1
- #![ feature(
2
- stdarch_internal,
3
- stdarch_arm_feature_detection,
4
- stdarch_powerpc_feature_detection
5
- ) ]
1
+ #![ feature( stdarch_internal) ]
2
+ #![ cfg_attr( target_arch = "arm" , feature( stdarch_arm_feature_detection) ) ]
3
+ #![ cfg_attr( target_arch = "powerpc" , feature( stdarch_powerpc_feature_detection) ) ]
4
+ #![ cfg_attr( target_arch = "powerpc64" , feature( stdarch_powerpc_feature_detection) ) ]
6
5
#![ allow( clippy:: unwrap_used, clippy:: use_debug, clippy:: print_stdout) ]
7
- #![ cfg( any(
8
- target_arch = "arm" ,
9
- target_arch = "aarch64" ,
10
- target_arch = "x86" ,
11
- target_arch = "x86_64" ,
12
- target_arch = "powerpc" ,
13
- target_arch = "powerpc64"
14
- ) ) ]
15
6
16
7
#[ macro_use]
17
8
extern crate std_detect;
Original file line number Diff line number Diff line change 28
28
//! You should see a game self-playing. In the end of the game, it shows the average time for
29
29
//! each move.
30
30
31
- #![ feature( avx512_target_feature, stdarch_x86_avx512) ]
31
+ #![ feature( avx512_target_feature) ]
32
+ #![ cfg_attr( target_arch = "x86" , feature( stdarch_x86_avx512) ) ]
33
+ #![ cfg_attr( target_arch = "x86_64" , feature( stdarch_x86_avx512) ) ]
32
34
#![ feature( stmt_expr_attributes) ]
33
35
34
36
use rand:: seq:: SliceRandom ;
You can’t perform that action at this time.
0 commit comments