File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,7 @@ macro_rules! intrinsics {
290
290
$( $rest: tt) *
291
291
) => (
292
292
#[ cfg( target_arch = "arm" ) ]
293
+ $( #[ $( $attr) * ] ) *
293
294
pub extern $abi fn $name( $( $argname: $ty) ,* ) $( -> $ret) ? {
294
295
$( $body) *
295
296
}
@@ -298,6 +299,7 @@ macro_rules! intrinsics {
298
299
mod $name {
299
300
#[ no_mangle]
300
301
#[ cfg_attr( all( not( windows) , not( target_vendor = "apple" ) ) , linkage = "weak" ) ]
302
+ $( #[ $( $attr) * ] ) *
301
303
extern $abi fn $name( $( $argname: $ty) ,* ) $( -> $ret) ? {
302
304
super :: $name( $( $argname) ,* )
303
305
}
@@ -307,6 +309,7 @@ macro_rules! intrinsics {
307
309
mod $alias {
308
310
#[ no_mangle]
309
311
#[ cfg_attr( all( not( windows) , not( target_vendor="apple" ) ) , linkage = "weak" ) ]
312
+ $( #[ $( $attr) * ] ) *
310
313
extern "aapcs" fn $alias( $( $argname: $ty) ,* ) $( -> $ret) ? {
311
314
super :: $name( $( $argname) ,* )
312
315
}
You can’t perform that action at this time.
0 commit comments