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 779cb00 commit 9a3aa8fCopy full SHA for 9a3aa8f
compiler/rustc_codegen_ssa/src/back/write.rs
@@ -998,7 +998,7 @@ fn execute_fat_lto_work_item<B: ExtraBackendMethods>(
998
let mut module =
999
B::run_fat_lto(cgcx, needs_fat_lto, import_only_modules).unwrap_or_else(|e| e.raise());
1000
1001
- if cgcx.lto == Lto::Fat && !autodiff.is_empty() {
+ if !autodiff.is_empty() {
1002
let config = cgcx.config(ModuleKind::Regular);
1003
if let Err(err) = B::autodiff(cgcx, &module, autodiff, config) {
1004
err.raise();
0 commit comments