Skip to content

Commit 00a0bbd

Browse files
committed
Make arm/dsp functions show up in docs
1 parent 7463267 commit 00a0bbd

File tree

1 file changed

+11
-8
lines changed
  • crates/core_arch/src/arm

1 file changed

+11
-8
lines changed

crates/core_arch/src/arm/mod.rs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,26 @@ pub use self::sat::*;
2626
// section 5.4.7)
2727
// Here we workaround the difference between LLVM's +dsp and ACLE's __ARM_FEATURE_DSP by gating on
2828
// '+v5te' rather than on '+dsp'
29-
#[cfg(all(
29+
#[cfg(any(all(
3030
not(target_arch = "aarch64"),
3131
any(
3232
// >= v5TE but excludes v7-M
3333
all(target_feature = "v5te", not(target_feature = "mclass")),
3434
// v7E-M
3535
all(target_feature = "mclass", target_feature = "dsp"),
3636
)
37-
))]
37+
), doc))]
3838
mod dsp;
3939

40-
#[cfg(all(
41-
not(target_arch = "aarch64"),
42-
any(
43-
all(target_feature = "v5te", not(target_feature = "mclass")),
44-
all(target_feature = "mclass", target_feature = "dsp"),
45-
)
40+
#[cfg(any(
41+
all(
42+
not(target_arch = "aarch64"),
43+
any(
44+
all(target_feature = "v5te", not(target_feature = "mclass")),
45+
all(target_feature = "mclass", target_feature = "dsp"),
46+
)
47+
),
48+
doc
4649
))]
4750
pub use self::dsp::*;
4851

0 commit comments

Comments
 (0)