File tree Expand file tree Collapse file tree 4 files changed +0
-38
lines changed Expand file tree Collapse file tree 4 files changed +0
-38
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ debug_typeid = []
2929[lints .rust .unexpected_cfgs ]
3030level = " warn"
3131check-cfg = [
32- # #[cfg(bootstrap)] loongarch32
33- ' cfg(target_arch, values("loongarch32"))' ,
3432 ' cfg(no_fp_fmt_parse)' ,
3533 # core use #[path] imports to portable-simd `core_simd` crate
3634 # and to stdarch `core_arch` crate which messes-up with Cargo list
Original file line number Diff line number Diff line change 2121#![ allow( internal_features) ]
2222#![ warn( unreachable_pub) ]
2323
24- #[ cfg( not( bootstrap) ) ]
2524#[ lang = "pointee_sized" ]
2625pub trait PointeeSized { }
2726
28- #[ cfg( not( bootstrap) ) ]
2927#[ lang = "meta_sized" ]
3028pub trait MetaSized : PointeeSized { }
3129
32- #[ cfg( bootstrap) ]
33- #[ lang = "sized" ]
34- pub trait Sized { }
35- #[ cfg( not( bootstrap) ) ]
3630#[ lang = "sized" ]
3731pub trait Sized : MetaSized { }
3832
@@ -43,19 +37,8 @@ trait Copy {}
4337#[ lang = "freeze" ]
4438auto trait Freeze { }
4539
46- #[ cfg( bootstrap) ]
47- impl < T : ?Sized > Copy for * mut T { }
48- #[ cfg( not( bootstrap) ) ]
4940impl < T : PointeeSized > Copy for * mut T { }
5041
51- #[ cfg( bootstrap) ]
52- #[ lang = "drop_in_place" ]
53- #[ inline]
54- #[ allow( unconditional_recursion) ]
55- pub unsafe fn drop_in_place < T : ?Sized > ( to_drop : * mut T ) {
56- drop_in_place ( to_drop) ;
57- }
58- #[ cfg( not( bootstrap) ) ]
5942#[ lang = "drop_in_place" ]
6043#[ inline]
6144#[ allow( unconditional_recursion) ]
Original file line number Diff line number Diff line change 88#![ allow( internal_features) ]
99#![ warn( unreachable_pub) ]
1010
11- #[ cfg( not( bootstrap) ) ]
1211#[ lang = "pointee_sized" ]
1312pub trait PointeeSized { }
1413
15- #[ cfg( not( bootstrap) ) ]
1614#[ lang = "meta_sized" ]
1715pub trait MetaSized : PointeeSized { }
1816
19- #[ cfg( bootstrap) ]
20- #[ lang = "sized" ]
21- pub trait Sized { }
22- #[ cfg( not( bootstrap) ) ]
2317#[ lang = "sized" ]
2418pub trait Sized : MetaSized { }
2519
@@ -31,19 +25,8 @@ trait Copy {}
3125#[ lang = "freeze" ]
3226auto trait Freeze { }
3327
34- #[ cfg( bootstrap) ]
35- impl < T : ?Sized > Copy for * mut T { }
36- #[ cfg( not( bootstrap) ) ]
3728impl < T : PointeeSized > Copy for * mut T { }
3829
39- #[ cfg( bootstrap) ]
40- #[ lang = "drop_in_place" ]
41- #[ inline]
42- #[ allow( unconditional_recursion) ]
43- pub unsafe fn drop_in_place < T : ?Sized > ( to_drop : * mut T ) {
44- drop_in_place ( to_drop) ;
45- }
46- #[ cfg( not( bootstrap) ) ]
4730#[ lang = "drop_in_place" ]
4831#[ inline]
4932#[ allow( unconditional_recursion) ]
Original file line number Diff line number Diff line change @@ -157,8 +157,6 @@ test = true
157157[lints .rust .unexpected_cfgs ]
158158level = " warn"
159159check-cfg = [
160- # #[cfg(bootstrap)] loongarch32
161- ' cfg(target_arch, values("loongarch32"))' ,
162160 # std use #[path] imports to portable-simd `std_float` crate
163161 # and to the `backtrace` crate which messes-up with Cargo list
164162 # of declared features, we therefor expect any feature cfg
You can’t perform that action at this time.
0 commit comments