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