We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f0abf1 commit 3cfb752Copy full SHA for 3cfb752
src/lib.rs
@@ -228,8 +228,8 @@ impl CodegenBackend for GccCodegenBackend {
228
//context.compile_to_file(gccjit::OutputKind::ObjectFile, temp_file.to_str().expect("path to str"));
229
// FIXME: compile gives the error as expected, but compile_to_file doesn't.
230
check_context.compile();
231
- let error = check_context.get_last_error();
232
- let lto_supported = error == Ok(None);
+ //let error = check_context.get_last_error();
+ let lto_supported = true; //error == Ok(None);
233
LTO_SUPPORTED.store(lto_supported, Ordering::SeqCst);
234
self.lto_supported.store(lto_supported, Ordering::SeqCst);
235
}
0 commit comments