From 9acbcc4ad14d1cc15e6350b543a4dac37a7de09e Mon Sep 17 00:00:00 2001 From: Grant Elbert Date: Mon, 23 Oct 2023 15:54:05 -0500 Subject: [PATCH] intrinsics macro: fix non-weak aeabi generation Signed-off-by: Grant Elbert --- src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macros.rs b/src/macros.rs index d2b5734d..2aa9a742 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -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),*) }