Skip to content

Commit 094c2ae

Browse files
committed
revert change to function_sections for windows
1 parent 90f6bc0 commit 094c2ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_back/target/windows_base.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ pub fn opts() -> TargetOptions {
6464
]);
6565

6666
TargetOptions {
67-
function_sections: true,
67+
// FIXME(#13846) this should be enabled for windows
68+
function_sections: false,
6869
linker: "gcc".to_string(),
6970
dynamic_linking: true,
7071
executables: true,

0 commit comments

Comments
 (0)