Skip to content

Commit b728326

Browse files
committed
FIx cg_gcc
1 parent d312894 commit b728326

File tree

1 file changed

+0
-6
lines changed
  • compiler/rustc_codegen_gcc/src

1 file changed

+0
-6
lines changed

compiler/rustc_codegen_gcc/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ use gccjit::{CType, Context, OptimizationLevel};
9393
#[cfg(feature = "master")]
9494
use gccjit::{TargetInfo, Version};
9595
use rustc_ast::expand::allocator::AllocatorKind;
96-
use rustc_ast::expand::autodiff_attrs::AutoDiffItem;
9796
use rustc_codegen_ssa::back::lto::{SerializedModule, ThinModule};
9897
use rustc_codegen_ssa::back::write::{
9998
CodegenContext, FatLtoInput, ModuleConfig, TargetMachineFactoryFn,
@@ -363,12 +362,7 @@ impl WriteBackendMethods for GccCodegenBackend {
363362
_exported_symbols_for_lto: &[String],
364363
each_linked_rlib_for_lto: &[PathBuf],
365364
modules: Vec<FatLtoInput<Self>>,
366-
diff_fncs: Vec<AutoDiffItem>,
367365
) -> Result<ModuleCodegen<Self::Module>, FatalError> {
368-
if !diff_fncs.is_empty() {
369-
unimplemented!();
370-
}
371-
372366
back::lto::run_fat(cgcx, each_linked_rlib_for_lto, modules)
373367
}
374368

0 commit comments

Comments
 (0)