|
60 | 60 | test(no_crate_inject, attr(deny(warnings))),
|
61 | 61 | test(attr(allow(dead_code, deprecated, unused_variables, unused_mut)))
|
62 | 62 | )]
|
| 63 | +#![cfg_attr( |
| 64 | + not(bootstrap), |
| 65 | + doc(cfg_hide( |
| 66 | + not(test), |
| 67 | + target_pointer_width = "16", |
| 68 | + target_pointer_width = "32", |
| 69 | + target_pointer_width = "64", |
| 70 | + target_has_atomic = "8", |
| 71 | + target_has_atomic = "16", |
| 72 | + target_has_atomic = "32", |
| 73 | + target_has_atomic = "64", |
| 74 | + target_has_atomic = "ptr", |
| 75 | + target_has_atomic_equal_alignment = "8", |
| 76 | + target_has_atomic_equal_alignment = "16", |
| 77 | + target_has_atomic_equal_alignment = "32", |
| 78 | + target_has_atomic_equal_alignment = "64", |
| 79 | + target_has_atomic_equal_alignment = "ptr", |
| 80 | + target_has_atomic_load_store = "8", |
| 81 | + target_has_atomic_load_store = "16", |
| 82 | + target_has_atomic_load_store = "32", |
| 83 | + target_has_atomic_load_store = "64", |
| 84 | + target_has_atomic_load_store = "ptr", |
| 85 | + )) |
| 86 | +)] |
63 | 87 | #![no_core]
|
64 | 88 | //
|
65 | 89 | // Lints:
|
|
133 | 157 | #![feature(doc_notable_trait)]
|
134 | 158 | #![feature(doc_primitive)]
|
135 | 159 | #![feature(exhaustive_patterns)]
|
| 160 | +#![cfg_attr(not(bootstrap), feature(doc_cfg_hide))] |
136 | 161 | #![feature(extern_types)]
|
137 | 162 | #![feature(fundamental)]
|
138 | 163 | #![feature(if_let_guard)]
|
|
0 commit comments