File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 19
19
// Attributes needed when building as part of the standard library
20
20
#![ cfg_attr(
21
21
feature = "rustc-dep-of-std" ,
22
- feature( cfg_target_vendor, link_cfg, no_core, static_nobundle )
22
+ feature( cfg_target_vendor, link_cfg, no_core)
23
23
) ]
24
24
#![ cfg_attr( libc_thread_local, feature( thread_local) ) ]
25
25
// Enable extra lints:
26
26
#![ cfg_attr( feature = "extra_traits" , deny( missing_debug_implementations) ) ]
27
27
#![ deny( missing_copy_implementations, safe_packed_borrows) ]
28
28
#![ no_std]
29
29
#![ cfg_attr( feature = "rustc-dep-of-std" , no_core) ]
30
- #![ cfg_attr( target_os = "redox" , feature( static_nobundle) ) ]
30
+ #![ cfg_attr(
31
+ any( feature = "rustc-dep-of-std" , target_os = "redox" ) ,
32
+ feature( static_nobundle)
33
+ ) ]
31
34
#![ cfg_attr( libc_const_extern_fn, feature( const_extern_fn) ) ]
32
35
33
36
#[ macro_use]
You can’t perform that action at this time.
0 commit comments