Skip to content

Commit ef05458

Browse files
Auto merge of #148669 - wesleywiser:function_sections_gnu_cygwin, r=<try>
Enable `-Zfunction-sections` by default for `*-windows-{gnu,cygwin}` try-job: x86_64-mingw-1 try-job: x86_64-mingw-2
2 parents 843f8ce + e23a5fc commit ef05458

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

compiler/rustc_target/src/spec/base/cygwin.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ pub(crate) fn opts() -> TargetOptions {
2626
TargetOptions {
2727
os: "cygwin".into(),
2828
vendor: "pc".into(),
29-
// FIXME(#13846) this should be enabled for cygwin
30-
function_sections: false,
3129
linker: Some("gcc".into()),
3230
dynamic_linking: true,
3331
dll_prefix: "".into(),

compiler/rustc_target/src/spec/base/windows_gnu.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ pub(crate) fn opts() -> TargetOptions {
8080
os: "windows".into(),
8181
env: "gnu".into(),
8282
vendor: "pc".into(),
83-
// FIXME(#13846) this should be enabled for windows
84-
function_sections: false,
8583
linker: Some("gcc".into()),
8684
dynamic_linking: true,
8785
dll_tls_export: false,

0 commit comments

Comments
 (0)