File tree 2 files changed +3
-8
lines changed
2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 302
302
#![ feature( let_chains) ]
303
303
#![ feature( link_cfg) ]
304
304
#![ feature( linkage) ]
305
+ #![ feature( macro_metavar_expr_concat) ]
305
306
#![ feature( min_exhaustive_patterns) ]
306
307
#![ feature( min_specialization) ]
307
308
#![ feature( must_not_suspend) ]
Original file line number Diff line number Diff line change @@ -172,10 +172,7 @@ pub(crate) macro syscall {
172
172
// (not paths).
173
173
use libc:: * ;
174
174
175
- syscall (
176
- concat_idents ! ( SYS_ , $name) ,
177
- $( $arg_name) , *
178
- ) as $ret
175
+ syscall ( ${ concat ( SYS_ , $name) } , $( $arg_name) , * ) as $ret
179
176
}
180
177
}
181
178
)
@@ -189,10 +186,7 @@ pub(crate) macro raw_syscall {
189
186
// (not paths).
190
187
use libc:: * ;
191
188
192
- syscall (
193
- concat_idents ! ( SYS_ , $name) ,
194
- $( $arg_name) , *
195
- ) as $ret
189
+ syscall ( ${ concat ( SYS_ , $name) } , $( $arg_name) , * ) as $ret
196
190
}
197
191
)
198
192
}
You can’t perform that action at this time.
0 commit comments