We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f35de commit b5b69b1Copy full SHA for b5b69b1
library/std/src/sys/pal/unix/weak.rs
@@ -49,13 +49,7 @@ pub(crate) macro weak {
49
}
50
51
// On non-ELF targets, use the dlsym approximation of weak linkage.
52
-#[cfg(any(
53
- target_os = "macos",
54
- target_os = "ios",
55
- target_os = "tvos",
56
- target_os = "watchos",
57
- target_os = "visionos",
58
-))]
+#[cfg(target_vendor = "apple")]
59
pub(crate) use self::dlsym as weak;
60
61
pub(crate) struct ExternWeak<F: Copy> {
0 commit comments