|
51 | 51 | test(attr(allow(dead_code, deprecated, unused_variables, unused_mut)))
|
52 | 52 | )]
|
53 | 53 | #![doc(rust_logo)]
|
54 |
| -#![cfg_attr( |
55 |
| - bootstrap, |
56 |
| - doc(cfg_hide( |
57 |
| - no_fp_fmt_parse, |
58 |
| - target_pointer_width = "16", |
59 |
| - target_pointer_width = "32", |
60 |
| - target_pointer_width = "64", |
61 |
| - target_has_atomic = "8", |
62 |
| - target_has_atomic = "16", |
63 |
| - target_has_atomic = "32", |
64 |
| - target_has_atomic = "64", |
65 |
| - target_has_atomic = "ptr", |
66 |
| - target_has_atomic_equal_alignment = "8", |
67 |
| - target_has_atomic_equal_alignment = "16", |
68 |
| - target_has_atomic_equal_alignment = "32", |
69 |
| - target_has_atomic_equal_alignment = "64", |
70 |
| - target_has_atomic_equal_alignment = "ptr", |
71 |
| - target_has_atomic_load_store = "8", |
72 |
| - target_has_atomic_load_store = "16", |
73 |
| - target_has_atomic_load_store = "32", |
74 |
| - target_has_atomic_load_store = "64", |
75 |
| - target_has_atomic_load_store = "ptr", |
76 |
| - )) |
77 |
| -)] |
78 |
| -#![cfg_attr( |
79 |
| - not(bootstrap), |
80 |
| - doc(auto_cfg(hide( |
81 |
| - no_fp_fmt_parse, |
82 |
| - target_pointer_width = "16", |
83 |
| - target_pointer_width = "32", |
84 |
| - target_pointer_width = "64", |
85 |
| - target_has_atomic = "8", |
86 |
| - target_has_atomic = "16", |
87 |
| - target_has_atomic = "32", |
88 |
| - target_has_atomic = "64", |
89 |
| - target_has_atomic = "ptr", |
90 |
| - target_has_atomic_equal_alignment = "8", |
91 |
| - target_has_atomic_equal_alignment = "16", |
92 |
| - target_has_atomic_equal_alignment = "32", |
93 |
| - target_has_atomic_equal_alignment = "64", |
94 |
| - target_has_atomic_equal_alignment = "ptr", |
95 |
| - target_has_atomic_load_store = "8", |
96 |
| - target_has_atomic_load_store = "16", |
97 |
| - target_has_atomic_load_store = "32", |
98 |
| - target_has_atomic_load_store = "64", |
99 |
| - target_has_atomic_load_store = "ptr", |
100 |
| - ))) |
101 |
| -)] |
| 54 | +#![doc(cfg_hide( |
| 55 | + no_fp_fmt_parse, |
| 56 | + target_pointer_width = "16", |
| 57 | + target_pointer_width = "32", |
| 58 | + target_pointer_width = "64", |
| 59 | + target_has_atomic = "8", |
| 60 | + target_has_atomic = "16", |
| 61 | + target_has_atomic = "32", |
| 62 | + target_has_atomic = "64", |
| 63 | + target_has_atomic = "ptr", |
| 64 | + target_has_atomic_equal_alignment = "8", |
| 65 | + target_has_atomic_equal_alignment = "16", |
| 66 | + target_has_atomic_equal_alignment = "32", |
| 67 | + target_has_atomic_equal_alignment = "64", |
| 68 | + target_has_atomic_equal_alignment = "ptr", |
| 69 | + target_has_atomic_load_store = "8", |
| 70 | + target_has_atomic_load_store = "16", |
| 71 | + target_has_atomic_load_store = "32", |
| 72 | + target_has_atomic_load_store = "64", |
| 73 | + target_has_atomic_load_store = "ptr", |
| 74 | +))] |
102 | 75 | #![no_core]
|
103 | 76 | #![rustc_coherence_is_core]
|
104 | 77 | #![rustc_preserve_ub_checks]
|
|
159 | 132 | //
|
160 | 133 | // Language features:
|
161 | 134 | // tidy-alphabetical-start
|
162 |
| -#![cfg_attr(bootstrap, feature(doc_cfg_hide))] |
163 | 135 | #![feature(abi_unadjusted)]
|
164 | 136 | #![feature(adt_const_params)]
|
165 | 137 | #![feature(allow_internal_unsafe)]
|
|
0 commit comments