File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,7 @@ macro_rules! intrinsics {
290290 $( $rest: tt) *
291291 ) => (
292292 #[ cfg( target_arch = "arm" ) ]
293+ $( #[ $( $attr) * ] ) *
293294 pub extern $abi fn $name( $( $argname: $ty) ,* ) $( -> $ret) ? {
294295 $( $body) *
295296 }
@@ -298,6 +299,7 @@ macro_rules! intrinsics {
298299 mod $name {
299300 #[ no_mangle]
300301 #[ cfg_attr( all( not( windows) , not( target_vendor = "apple" ) ) , linkage = "weak" ) ]
302+ $( #[ $( $attr) * ] ) *
301303 extern $abi fn $name( $( $argname: $ty) ,* ) $( -> $ret) ? {
302304 super :: $name( $( $argname) ,* )
303305 }
@@ -307,6 +309,7 @@ macro_rules! intrinsics {
307309 mod $alias {
308310 #[ no_mangle]
309311 #[ cfg_attr( all( not( windows) , not( target_vendor="apple" ) ) , linkage = "weak" ) ]
312+ $( #[ $( $attr) * ] ) *
310313 extern "aapcs" fn $alias( $( $argname: $ty) ,* ) $( -> $ret) ? {
311314 super :: $name( $( $argname) ,* )
312315 }
You can’t perform that action at this time.
0 commit comments