Skip to content

Commit c87b072

Browse files
committed
Remove more library bootstrap
1 parent 19e02c8 commit c87b072

File tree

7 files changed

+1
-12
lines changed

7 files changed

+1
-12
lines changed

library/alloc/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ optimize_for_size = ["core/optimize_for_size"]
3232
[lints.rust.unexpected_cfgs]
3333
level = "warn"
3434
check-cfg = [
35-
'cfg(bootstrap)',
3635
'cfg(no_global_oom_handling)',
3736
'cfg(no_rc)',
3837
'cfg(no_sync)',

library/alloc/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
)]
6767
#![doc(cfg_hide(
6868
not(test),
69-
not(any(test, bootstrap)),
7069
no_global_oom_handling,
7170
not(no_global_oom_handling),
7271
not(no_rc),

library/alloctests/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ harness = false
3939
[lints.rust.unexpected_cfgs]
4040
level = "warn"
4141
check-cfg = [
42-
'cfg(bootstrap)',
4342
'cfg(no_global_oom_handling)',
4443
'cfg(no_rc)',
4544
'cfg(no_sync)',

library/core/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ debug_typeid = []
2929
[lints.rust.unexpected_cfgs]
3030
level = "warn"
3131
check-cfg = [
32-
'cfg(bootstrap)',
3332
'cfg(no_fp_fmt_parse)',
3433
# core use #[path] imports to portable-simd `core_simd` crate
3534
# and to stdarch `core_arch` crate which messes-up with Cargo list

library/core/src/pin.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,6 @@ pub use self::unsafe_pinned::UnsafePinned;
10921092
#[rustc_pub_transparent]
10931093
#[derive(Copy, Clone)]
10941094
pub struct Pin<Ptr> {
1095-
/// Only public for bootstrap.
10961095
pointer: Ptr,
10971096
}
10981097

library/std/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ test = true
157157
[lints.rust.unexpected_cfgs]
158158
level = "warn"
159159
check-cfg = [
160-
'cfg(bootstrap)',
161160
# std use #[path] imports to portable-simd `std_float` crate
162161
# and to the `backtrace` crate which messes-up with Cargo list
163162
# of declared features, we therefor expect any feature cfg

library/std/src/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,7 @@
235235
test(attr(allow(dead_code, deprecated, unused_variables, unused_mut)))
236236
)]
237237
#![doc(rust_logo)]
238-
#![doc(cfg_hide(
239-
not(test),
240-
not(any(test, bootstrap)),
241-
no_global_oom_handling,
242-
not(no_global_oom_handling)
243-
))]
238+
#![doc(cfg_hide(not(test), no_global_oom_handling, not(no_global_oom_handling)))]
244239
// Don't link to std. We are std.
245240
#![no_std]
246241
// Tell the compiler to link to either panic_abort or panic_unwind

0 commit comments

Comments
 (0)