Skip to content

Commit dc4e26d

Browse files
committed
[WIP]
1 parent 4c143a2 commit dc4e26d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,10 +493,10 @@ impl WriteBackendMethods for GccCodegenBackend {
493493
let bc_out = temp_dir.path().join("fakethinlto.o");
494494
std::mem::forget(temp_dir);
495495

496-
if module.lto_supported {
496+
/*if module.lto_supported {
497497
context.add_command_line_option("-flto=auto");
498498
context.add_command_line_option("-flto-partition=one");
499-
}
499+
}*/
500500
context.compile_to_file(OutputKind::ObjectFile, bc_out.to_str().expect("path to str"));
501501

502502
ModuleBuffer::new(bc_out)

0 commit comments

Comments
 (0)