File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 34
34
#![ no_std]
35
35
#![ cfg_attr( feature = "rustc-dep-of-std" , no_core) ]
36
36
#![ cfg_attr( target_os = "redox" , feature( static_nobundle) ) ]
37
- #![ cfg_attr( feature = "const-extern-fn" , feature( const_extern_fn) ) ]
37
+ #![ cfg_attr( libc_const_extern_fn , feature( const_extern_fn) ) ]
38
38
39
39
#[ macro_use]
40
40
mod macros;
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ macro_rules! s_no_extra_traits {
149
149
// 2. Allow users of this macro to mix 'pub fn foo' and 'pub const fn bar' within the same
150
150
// 'f!' block
151
151
cfg_if ! {
152
- if #[ cfg( feature = "const-extern-fn" ) ] {
152
+ if #[ cfg( libc_const_extern_fn ) ] {
153
153
#[ allow( unused_macros) ]
154
154
macro_rules! f {
155
155
( $( pub $( { $constness: ident} ) * fn $i: ident(
You can’t perform that action at this time.
0 commit comments