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 fec3dc5 commit 4e78d9eCopy full SHA for 4e78d9e
1 file changed
library/windows_link/src/lib.rs
@@ -45,7 +45,7 @@ pub macro link($($tt:tt)*) {
45
#[cfg(not(feature = "windows_raw_dylib"))]
46
#[cfg(not(target_os = "cygwin"))] // Cygwin doesn't need these libs
47
#[cfg_attr(target_vendor = "win7", link(name = "advapi32"))]
48
-#[link(name = "ntdll")]
+#[cfg_attr(not(target_family = "rust9x"), link(name = "ntdll"))]
49
#[cfg_attr(not(target_family = "rust9x"), link(name = "userenv"))]
50
#[link(name = "ws2_32")]
51
#[link(name = "dbghelp")] // required for backtrace-rs symbolization
0 commit comments