Skip to content

Commit 8c6fdc5

Browse files
committed
Don't limit cargo doc unnecessarily
Suggested by #1104 (comment) The blanket inclusions mentioned in the comment are here: https://github.com/rust-lang/stdarch/blob/8a5da46643f27f14059891e6ef8e91598dc78247/crates/core_arch/src/mod.rs#L52:L52
1 parent 21b4259 commit 8c6fdc5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/core_arch/src/acle/hints.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// Section 10.1 of ACLE says that the supported arches are: 8, 6K, 6-M
1111
// LLVM says "instruction requires: armv6k"
1212
#[cfg(any(target_feature = "v6", target_arch = "aarch64", doc))]
13-
#[doc(cfg(target_arch = "arm"))]
1413
#[inline(always)]
1514
pub unsafe fn __wfi() {
1615
hint(HINT_WFI);
@@ -24,7 +23,6 @@ pub unsafe fn __wfi() {
2423
// Section 10.1 of ACLE says that the supported arches are: 8, 6K, 6-M
2524
// LLVM says "instruction requires: armv6k"
2625
#[cfg(any(target_feature = "v6", target_arch = "aarch64", doc))]
27-
#[doc(cfg(target_arch = "arm"))]
2826
#[inline(always)]
2927
pub unsafe fn __wfe() {
3028
hint(HINT_WFE);
@@ -37,7 +35,6 @@ pub unsafe fn __wfe() {
3735
// Section 10.1 of ACLE says that the supported arches are: 8, 6K, 6-M, 7-M
3836
// LLVM says "instruction requires: armv6k"
3937
#[cfg(any(target_feature = "v6", target_arch = "aarch64", doc))]
40-
#[doc(cfg(target_arch = "aarch64"))]
4138
#[inline(always)]
4239
pub unsafe fn __sev() {
4340
hint(HINT_SEV);
@@ -68,7 +65,6 @@ pub unsafe fn __sevl() {
6865
// Section 10.1 of ACLE says that the supported arches are: 8, 6K, 6-M
6966
// LLVM says "instruction requires: armv6k"
7067
#[cfg(any(target_feature = "v6", target_arch = "aarch64", doc))]
71-
#[doc(cfg(target_arch = "aarch64"))]
7268
#[inline(always)]
7369
pub unsafe fn __yield() {
7470
hint(HINT_YIELD);

0 commit comments

Comments
 (0)