File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 302302#![ feature( let_chains) ]
303303#![ feature( link_cfg) ]
304304#![ feature( linkage) ]
305+ #![ feature( macro_metavar_expr_concat) ]
305306#![ feature( min_exhaustive_patterns) ]
306307#![ feature( min_specialization) ]
307308#![ feature( must_not_suspend) ]
Original file line number Diff line number Diff line change @@ -172,10 +172,7 @@ pub(crate) macro syscall {
172172 // (not paths).
173173 use libc:: * ;
174174
175- syscall (
176- concat_idents ! ( SYS_ , $name) ,
177- $( $arg_name) , *
178- ) as $ret
175+ syscall ( ${ concat ( SYS_ , $name) } , $( $arg_name) , * ) as $ret
179176 }
180177 }
181178 )
@@ -189,10 +186,7 @@ pub(crate) macro raw_syscall {
189186 // (not paths).
190187 use libc:: * ;
191188
192- syscall (
193- concat_idents ! ( SYS_ , $name) ,
194- $( $arg_name) , *
195- ) as $ret
189+ syscall ( ${ concat ( SYS_ , $name) } , $( $arg_name) , * ) as $ret
196190 }
197191 )
198192}
You can’t perform that action at this time.
0 commit comments