From 72c872147679096c53cbb49ca670662d05d43110 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Tue, 27 Sep 2022 13:22:45 -0600 Subject: [PATCH] Update macros.rs --- https://github.com/rust-lang/compiler-builtins/pull/495 src/macros.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/compiler_builtins/src/macros.rs b/vendor/compiler_builtins/src/macros.rs index 7d90b7aa..477c2568 100644 --- a/vendor/compiler_builtins/src/macros.rs +++ b/vendor/compiler_builtins/src/macros.rs @@ -266,6 +266,7 @@ macro_rules! intrinsics { #[cfg(target_arch = "arm")] pub mod $alias { #[cfg_attr(not(feature = "mangled-names"), no_mangle)] + #[cfg_attr(all(not(windows), not(target_vendor="apple")), linkage = "weak")] pub extern "aapcs" fn $alias( $($argname: $ty),* ) $(-> $ret)? { super::$name($($argname),*) }