projects
/
rustc-mozilla.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c211de3
)
[PATCH] Update macros.rs
author
Lokathor
<zefria@gmail.com>
Tue, 27 Sep 2022 19:22:45 +0000
(13:22 -0600)
committer
Emilio Pozuelo Monfort
<pochu@debian.org>
Mon, 18 Sep 2023 17:32:04 +0000
(18:32 +0100)
Gbp-Pq: Name u-arm-compiler-builtins-weak-linkage-arm.patch
vendor/compiler_builtins/src/macros.rs
patch
|
blob
|
history
diff --git
a/vendor/compiler_builtins/src/macros.rs
b/vendor/compiler_builtins/src/macros.rs
index 518a18d4de8deb69341cf2ef62879150bc2d9bf0..d18b87f32fb9913cf511544a05c5e99aac1a970b 100644
(file)
--- 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),*)
}