diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-03 16:09:10 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-03 16:13:25 +0000 |
| commit | 8d63c7a1d68cd30383dceb03a76499c658fa7f40 (patch) | |
| tree | 008f6c8dd668954b4645a60dbc68815707b438b6 /compiler/rustc_codegen_llvm/src/lib.rs | |
| parent | 9a3aa8fdb192b42e665eb9059a0061f865b3d352 (diff) | |
| download | rust-8d63c7a1d68cd30383dceb03a76499c658fa7f40.tar.gz rust-8d63c7a1d68cd30383dceb03a76499c658fa7f40.zip | |
Remove unused config param from WriteBackendMethods::autodiff
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs index 4d85683de8c..7f54416ec0e 100644 --- a/compiler/rustc_codegen_llvm/src/lib.rs +++ b/compiler/rustc_codegen_llvm/src/lib.rs @@ -231,13 +231,12 @@ impl WriteBackendMethods for LlvmCodegenBackend { cgcx: &CodegenContext<Self>, module: &ModuleCodegen<Self::Module>, diff_fncs: Vec<AutoDiffItem>, - config: &ModuleConfig, ) -> Result<(), FatalError> { if cgcx.lto != Lto::Fat { let dcx = cgcx.create_dcx(); return Err(dcx.handle().emit_almost_fatal(AutoDiffWithoutLTO)); } - builder::autodiff::differentiate(module, cgcx, diff_fncs, config) + builder::autodiff::differentiate(module, cgcx, diff_fncs) } } |
