Skip to content

Commit 9acbcc4

Browse files
committed
intrinsics macro: fix non-weak aeabi generation
Signed-off-by: Grant Elbert <[email protected]>
1 parent d1d785a commit 9acbcc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ macro_rules! intrinsics {
369369
#[cfg(target_arch = "arm")]
370370
pub mod $alias {
371371
#[cfg_attr(not(feature = "mangled-names"), no_mangle)]
372-
#[cfg_attr(any(all(not(windows), not(target_vendor="apple"), feature = "weak-intrinsics")), linkage = "weak")]
372+
#[cfg_attr(any(all(not(windows), not(target_vendor="apple")), feature = "weak-intrinsics"), linkage = "weak")]
373373
pub extern "aapcs" fn $alias( $($argname: $ty),* ) $(-> $ret)? {
374374
super::$name($($argname),*)
375375
}

0 commit comments

Comments
 (0)