File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ pub unsafe fn __set_PRIMASK(pri_mask: u32) {
164
164
asm ! ( "msr PRIMASK, $0" : : "r" ( pri_mask) : : "volatile" ) ;
165
165
}
166
166
167
- #[ cfg( target_feature = "v7" ) ]
167
+ #[ cfg( any ( target_feature = "v7" , dox ) ) ]
168
168
mod v7 {
169
169
/// Enable FIQ
170
170
///
@@ -245,7 +245,7 @@ mod v7 {
245
245
}
246
246
}
247
247
248
- #[ cfg( target_feature = "v7" ) ]
248
+ #[ cfg( any ( target_feature = "v7" , dox ) ) ]
249
249
pub use self :: v7:: * ;
250
250
251
251
/* Core instruction access */
Original file line number Diff line number Diff line change 7
7
//! [arm_dat]: https://developer.arm.com/technologies/neon/intrinsics
8
8
#![ allow( non_camel_case_types) ]
9
9
10
- #[ cfg( target_feature = "mclass" ) ]
10
+ #[ cfg( any ( target_feature = "mclass" , dox ) ) ]
11
11
mod cmsis;
12
- #[ cfg( target_feature = "mclass" ) ]
12
+ #[ cfg( any ( target_feature = "mclass" , dox ) ) ]
13
13
pub use self :: cmsis:: * ;
14
14
15
15
mod v6;
@@ -20,9 +20,9 @@ mod v7;
20
20
#[ cfg( any( target_arch = "aarch64" , target_feature = "v7" ) ) ]
21
21
pub use self :: v7:: * ;
22
22
23
- #[ cfg( all( target_feature = "v7" , not( target_feature = "mclass" ) ) ) ]
23
+ #[ cfg( any ( all( target_feature = "v7" , not( target_feature = "mclass" ) ) , dox ) ) ]
24
24
mod dsp;
25
- #[ cfg( all( target_feature = "v7" , not( target_feature = "mclass" ) ) ) ]
25
+ #[ cfg( any ( all( target_feature = "v7" , not( target_feature = "mclass" ) ) , dox ) ) ]
26
26
pub use self :: dsp:: * ;
27
27
28
28
// NEON is supported on AArch64, and on ARM when built with the v7 and neon
You can’t perform that action at this time.
0 commit comments