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 3434#![ no_std]
3535#![ cfg_attr( feature = "rustc-dep-of-std" , no_core) ]
3636#![ 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) ) ]
3838
3939#[ macro_use]
4040mod macros;
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ macro_rules! s_no_extra_traits {
149149// 2. Allow users of this macro to mix 'pub fn foo' and 'pub const fn bar' within the same
150150// 'f!' block
151151cfg_if ! {
152- if #[ cfg( feature = "const-extern-fn" ) ] {
152+ if #[ cfg( libc_const_extern_fn ) ] {
153153 #[ allow( unused_macros) ]
154154 macro_rules! f {
155155 ( $( pub $( { $constness: ident} ) * fn $i: ident(
You can’t perform that action at this time.
0 commit comments