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 97f906b commit 86c33d1Copy full SHA for 86c33d1
library/windows_targets/src/lib.rs
@@ -34,9 +34,9 @@ pub macro link {
34
}
35
36
#[cfg(not(feature = "windows_raw_dylib"))]
37
-#[link(name = "advapi32")]
38
-#[link(name = "ntdll")]
39
-#[link(name = "userenv")]
+#[cfg_attr(not(target_vendor = "rust9x"), link(name = "advapi32"))]
+#[cfg_attr(not(target_vendor = "rust9x"), link(name = "ntdll"))]
+#[cfg_attr(not(target_vendor = "rust9x"), link(name = "userenv"))]
40
#[link(name = "ws2_32")]
41
#[link(name = "dbghelp")] // required for backtrace-rs symbolization
42
extern "C" {}
0 commit comments