File tree 1 file changed +5
-10
lines changed
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -179,36 +179,31 @@ extern crate libc;
179
179
180
180
#[ macro_use] #[ no_link] extern crate rustc_bitflags;
181
181
182
- // Make std testable by not duplicating lang items. See #2912
182
+ // Make std testable by not duplicating lang items and other globals . See #2912
183
183
#[ cfg( test) ] extern crate std as realstd;
184
- #[ cfg( test) ] pub use realstd:: marker;
185
- #[ cfg( test) ] pub use realstd:: ops;
186
- #[ cfg( test) ] pub use realstd:: cmp;
187
- #[ cfg( test) ] pub use realstd:: boxed;
188
-
189
184
190
185
// NB: These reexports are in the order they should be listed in rustdoc
191
186
192
187
pub use core:: any;
193
188
pub use core:: cell;
194
189
pub use core:: clone;
195
- # [ cfg ( not ( test ) ) ] pub use core:: cmp;
190
+ pub use core:: cmp;
196
191
pub use core:: convert;
197
192
pub use core:: default;
198
193
pub use core:: hash;
199
194
pub use core:: intrinsics;
200
195
pub use core:: iter;
201
- # [ cfg ( not ( test ) ) ] pub use core:: marker;
196
+ pub use core:: marker;
202
197
pub use core:: mem;
203
- # [ cfg ( not ( test ) ) ] pub use core:: ops;
198
+ pub use core:: ops;
204
199
pub use core:: ptr;
205
200
pub use core:: raw;
206
201
pub use core:: simd;
207
202
pub use core:: result;
208
203
pub use core:: option;
209
204
pub mod error;
210
205
211
- # [ cfg ( not ( test ) ) ] pub use alloc:: boxed;
206
+ pub use alloc:: boxed;
212
207
pub use alloc:: rc;
213
208
214
209
pub use core_collections:: borrow;
You can’t perform that action at this time.
0 commit comments