intrinsics macro: fix non-weak aeabi generation
Signed-off-by: Grant Elbert <grant.elbert@smartthings.com>
This commit is contained in:
parent
c21462c5e0
commit
de2da94c49
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ macro_rules! intrinsics {
|
|||
#[cfg(target_arch = "arm")]
|
||||
pub mod $alias {
|
||||
#[cfg_attr(not(feature = "mangled-names"), no_mangle)]
|
||||
#[cfg_attr(any(all(not(windows), not(target_vendor="apple"), feature = "weak-intrinsics")), linkage = "weak")]
|
||||
#[cfg_attr(any(all(not(windows), not(target_vendor="apple")), feature = "weak-intrinsics"), linkage = "weak")]
|
||||
pub extern "aapcs" fn $alias( $($argname: $ty),* ) $(-> $ret)? {
|
||||
super::$name($($argname),*)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue