File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 25
25
not( any(
26
26
feature = "use_std" ,
27
27
feature = "rustc-dep-of-std" ,
28
- cross_platform_docs,
29
28
) ) ,
30
29
no_std
31
30
) ]
32
31
33
- #[ cfg( all ( not ( cross_platform_docs ) , feature = "use_std" ) ) ]
32
+ #[ cfg( feature = "use_std" ) ]
34
33
extern crate std as core;
35
34
36
35
#[ macro_use]
Original file line number Diff line number Diff line change @@ -124,16 +124,9 @@ macro_rules! f {
124
124
$( $body: stmt) ;*
125
125
} ) * ) => ( $(
126
126
#[ inline]
127
- #[ cfg( not( cross_platform_docs) ) ]
128
127
pub unsafe extern fn $i( $( $arg: $argty) ,* ) -> $ret {
129
128
$( $body) ;*
130
129
}
131
-
132
- #[ cfg( cross_platform_docs) ]
133
- #[ allow( dead_code) ]
134
- pub unsafe extern fn $i( $( $arg: $argty) ,* ) -> $ret {
135
- loop { }
136
- }
137
130
) * )
138
131
}
139
132
Original file line number Diff line number Diff line change @@ -301,9 +301,7 @@ pub const ATF_PUBL: ::c_int = 0x08;
301
301
pub const ATF_USETRAILERS : :: c_int = 0x10 ;
302
302
303
303
cfg_if ! {
304
- if #[ cfg( cross_platform_docs) ] {
305
- // on dox builds don't pull in anything
306
- } else if #[ cfg( target_os = "l4re" ) ] {
304
+ if #[ cfg( target_os = "l4re" ) ] {
307
305
// required libraries for L4Re are linked externally, ATM
308
306
} else if #[ cfg( feature = "use_std" ) ] {
309
307
// cargo build, don't pull in anything extra as the libstd dep
You can’t perform that action at this time.
0 commit comments