mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-19 20:26:15 +00:00
and drop those no longer needed Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
14 lines
538 B
Diff
14 lines
538 B
Diff
Bug: https://github.com/rust-lang/rust/issues/68973
|
|
|
|
--- a/compiler/rustc_target/src/spec/windows_gnu_base.rs
|
|
+++ b/compiler/rustc_target/src/spec/windows_gnu_base.rs
|
|
@@ -36,6 +36,8 @@ pub fn opts() -> TargetOptions {
|
|
"-lmsvcrt".to_string(),
|
|
"-luser32".to_string(),
|
|
"-lkernel32".to_string(),
|
|
+ "-lssp_nonshared".to_string(),
|
|
+ "-lssp".to_string(),
|
|
];
|
|
late_link_args.insert(LinkerFlavor::Gcc, mingw_libs.clone());
|
|
late_link_args.insert(LinkerFlavor::Lld(LldFlavor::Ld), mingw_libs);
|