Skip to content

Commit 7eb2f9b

Browse files
committed
TO REVERT: make LTO always supported
1 parent 8f0abf1 commit 7eb2f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ impl CodegenBackend for GccCodegenBackend {
229229
// FIXME: compile gives the error as expected, but compile_to_file doesn't.
230230
check_context.compile();
231231
let error = check_context.get_last_error();
232-
let lto_supported = error == Ok(None);
232+
let lto_supported = true; //error == Ok(None);
233233
LTO_SUPPORTED.store(lto_supported, Ordering::SeqCst);
234234
self.lto_supported.store(lto_supported, Ordering::SeqCst);
235235
}

0 commit comments

Comments
 (0)