Skip to content

Commit 784f11d

Browse files
committed
Do not generate fat objects when not needed
1 parent a50f0b4 commit 784f11d

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
@@ -59,8 +59,6 @@ pub(crate) fn codegen(
5959
if lto_supported {
6060
context.add_command_line_option("-flto=auto");
6161
context.add_command_line_option("-flto-partition=one");
62-
// TODO(antoyo): remove since we don't want fat objects when it is for Bitcode only.
63-
context.add_command_line_option("-ffat-lto-objects");
6462
}
6563
context
6664
.compile_to_file(OutputKind::ObjectFile, bc_out.to_str().expect("path to str"));

0 commit comments

Comments
 (0)