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.
-Zfunction-sections
*-windows-{gnu,cygwin}
1 parent e23a5fc commit ac4699bCopy full SHA for ac4699b
compiler/rustc_target/src/spec/base/cygwin.rs
@@ -26,6 +26,8 @@ pub(crate) fn opts() -> TargetOptions {
26
TargetOptions {
27
os: "cygwin".into(),
28
vendor: "pc".into(),
29
+ // FIXME(#13846) this should be enabled for cygwin
30
+ function_sections: false,
31
linker: Some("gcc".into()),
32
dynamic_linking: true,
33
dll_prefix: "".into(),
compiler/rustc_target/src/spec/base/windows_gnu.rs
@@ -80,6 +80,8 @@ pub(crate) fn opts() -> TargetOptions {
80
os: "windows".into(),
81
env: "gnu".into(),
82
83
+ // FIXME(#13846) this should be enabled for windows
84
85
86
87
dll_tls_export: false,
0 commit comments