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 = []
29
29
[lints .rust .unexpected_cfgs ]
30
30
level = " warn"
31
31
check-cfg = [
32
- # #[cfg(bootstrap)] loongarch32
33
- ' cfg(target_arch, values("loongarch32"))' ,
34
32
' cfg(no_fp_fmt_parse)' ,
35
33
# core use #[path] imports to portable-simd `core_simd` crate
36
34
# and to stdarch `core_arch` crate which messes-up with Cargo list
Original file line number Diff line number Diff line change 21
21
#![ allow( internal_features) ]
22
22
#![ warn( unreachable_pub) ]
23
23
24
- #[ cfg( not( bootstrap) ) ]
25
24
#[ lang = "pointee_sized" ]
26
25
pub trait PointeeSized { }
27
26
28
- #[ cfg( not( bootstrap) ) ]
29
27
#[ lang = "meta_sized" ]
30
28
pub trait MetaSized : PointeeSized { }
31
29
32
- #[ cfg( bootstrap) ]
33
- #[ lang = "sized" ]
34
- pub trait Sized { }
35
- #[ cfg( not( bootstrap) ) ]
36
30
#[ lang = "sized" ]
37
31
pub trait Sized : MetaSized { }
38
32
@@ -43,19 +37,8 @@ trait Copy {}
43
37
#[ lang = "freeze" ]
44
38
auto trait Freeze { }
45
39
46
- #[ cfg( bootstrap) ]
47
- impl < T : ?Sized > Copy for * mut T { }
48
- #[ cfg( not( bootstrap) ) ]
49
40
impl < T : PointeeSized > Copy for * mut T { }
50
41
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) ) ]
59
42
#[ lang = "drop_in_place" ]
60
43
#[ inline]
61
44
#[ allow( unconditional_recursion) ]
Original file line number Diff line number Diff line change 8
8
#![ allow( internal_features) ]
9
9
#![ warn( unreachable_pub) ]
10
10
11
- #[ cfg( not( bootstrap) ) ]
12
11
#[ lang = "pointee_sized" ]
13
12
pub trait PointeeSized { }
14
13
15
- #[ cfg( not( bootstrap) ) ]
16
14
#[ lang = "meta_sized" ]
17
15
pub trait MetaSized : PointeeSized { }
18
16
19
- #[ cfg( bootstrap) ]
20
- #[ lang = "sized" ]
21
- pub trait Sized { }
22
- #[ cfg( not( bootstrap) ) ]
23
17
#[ lang = "sized" ]
24
18
pub trait Sized : MetaSized { }
25
19
@@ -31,19 +25,8 @@ trait Copy {}
31
25
#[ lang = "freeze" ]
32
26
auto trait Freeze { }
33
27
34
- #[ cfg( bootstrap) ]
35
- impl < T : ?Sized > Copy for * mut T { }
36
- #[ cfg( not( bootstrap) ) ]
37
28
impl < T : PointeeSized > Copy for * mut T { }
38
29
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) ) ]
47
30
#[ lang = "drop_in_place" ]
48
31
#[ inline]
49
32
#[ allow( unconditional_recursion) ]
Original file line number Diff line number Diff line change @@ -157,8 +157,6 @@ test = true
157
157
[lints .rust .unexpected_cfgs ]
158
158
level = " warn"
159
159
check-cfg = [
160
- # #[cfg(bootstrap)] loongarch32
161
- ' cfg(target_arch, values("loongarch32"))' ,
162
160
# std use #[path] imports to portable-simd `std_float` crate
163
161
# and to the `backtrace` crate which messes-up with Cargo list
164
162
# of declared features, we therefor expect any feature cfg
You can’t perform that action at this time.
0 commit comments