Skip to content

Commit d3a61b3

Browse files
committed
Do not emit fat LTO objects when not needed
1 parent 7cc33be commit d3a61b3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/back/write.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ pub(crate) fn codegen(
6464
);
6565
context.add_command_line_option("-flto=auto");
6666
context.add_command_line_option("-flto-partition=one");
67-
// TODO(antoyo): remove since we don't want fat objects when it is for Bitcode only.
68-
context.add_command_line_option("-ffat-lto-objects");
6967
context.compile_to_file(
7068
OutputKind::ObjectFile,
7169
bc_out.to_str().expect("path to str"),

0 commit comments

Comments
 (0)