Skip to content

Commit 7c1a3d8

Browse files
authored
Merge pull request #495 from Lokathor/more-weak-linkage
2 parents 0347d99 + 72c8721 commit 7c1a3d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/macros.rs

+1
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ macro_rules! intrinsics {
266266
#[cfg(target_arch = "arm")]
267267
pub mod $alias {
268268
#[cfg_attr(not(feature = "mangled-names"), no_mangle)]
269+
#[cfg_attr(all(not(windows), not(target_vendor="apple")), linkage = "weak")]
269270
pub extern "aapcs" fn $alias( $($argname: $ty),* ) $(-> $ret)? {
270271
super::$name($($argname),*)
271272
}

0 commit comments

Comments
 (0)