diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-03 14:43:09 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-03 14:43:09 +0000 |
| commit | 7fd78df3463c761a693ea79265a6a1faaf2ed51b (patch) | |
| tree | c7199abe7071c6418ec0db3514841239c9a40ef9 /compiler/rustc_codegen_gcc/src/lib.rs | |
| parent | 653bb64c7530c86d00b875e1ef14ac75455d2d80 (diff) | |
| download | rust-7fd78df3463c761a693ea79265a6a1faaf2ed51b.tar.gz rust-7fd78df3463c761a693ea79265a6a1faaf2ed51b.zip | |
Move dcx creation into WriteBackendMethods::codegen
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/lib.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs index a151a0ab755..34452bdd200 100644 --- a/compiler/rustc_codegen_gcc/src/lib.rs +++ b/compiler/rustc_codegen_gcc/src/lib.rs @@ -408,11 +408,10 @@ impl WriteBackendMethods for GccCodegenBackend { fn codegen( cgcx: &CodegenContext<Self>, - dcx: DiagCtxtHandle<'_>, module: ModuleCodegen<Self::Module>, config: &ModuleConfig, ) -> Result<CompiledModule, FatalError> { - back::write::codegen(cgcx, dcx, module, config) + back::write::codegen(cgcx, module, config) } fn prepare_thin( |
