We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
advapi32
shell32
1 parent d710f8b commit afc3046Copy full SHA for afc3046
src/librustc_back/target/windows_base.rs
@@ -77,8 +77,6 @@ pub fn opts() -> TargetOptions {
77
"-lmingw32".to_string(),
78
"-lgcc".to_string(), // alas, mingw* libraries above depend on libgcc
79
"-lmsvcrt".to_string(),
80
- "-ladvapi32".to_string(),
81
- "-lshell32".to_string(),
82
"-luser32".to_string(),
83
"-lkernel32".to_string(),
84
),
src/libstd/sys/windows/c.rs
@@ -354,6 +354,7 @@ pub type PVECTORED_EXCEPTION_HANDLER = extern "system"
354
355
#[link(name = "ws2_32")]
356
#[link(name = "userenv")]
357
+#[link(name = "shell32")]
358
extern "system" {
359
pub fn WSAStartup(wVersionRequested: libc::WORD,
360
lpWSAData: LPWSADATA) -> libc::c_int;
0 commit comments