Skip to content

Commit b28d354

Browse files
committed
don't ignore autodiff tasks for lib builds
1 parent 8dac72b commit b28d354

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+1
-0
lines changed

compiler/rustc_codegen_ssa/src/back/write.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,6 +1459,7 @@ fn start_executing_work<B: ExtraBackendMethods>(
14591459
if needs_fat_lto.is_empty()
14601460
&& needs_thin_lto.is_empty()
14611461
&& lto_import_only_modules.is_empty()
1462+
&& autodiff_items.is_empty()
14621463
{
14631464
// Nothing more to do!
14641465
break;

0 commit comments

Comments
 (0)