about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2022-04-30 20:58:42 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2022-04-30 20:58:42 +0200
commitfab72301d9089761766b389df209986c2bc38e5d (patch)
tree31539769a409546a5d822f09cd8183c40be22dda /compiler/rustc_codegen_gcc/src
parentee94ff254aceccd27919f26c02541277a3ca7dd7 (diff)
downloadrust-fab72301d9089761766b389df209986c2bc38e5d.tar.gz
rust-fab72301d9089761766b389df209986c2bc38e5d.zip
Remove config parameter of optimize_fat and avoid interior mutability for module
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
-rw-r--r--compiler/rustc_codegen_gcc/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs
index 72da59a1bf8..684b845c38a 100644
--- a/compiler/rustc_codegen_gcc/src/lib.rs
+++ b/compiler/rustc_codegen_gcc/src/lib.rs
@@ -229,7 +229,7 @@ impl WriteBackendMethods for GccCodegenBackend {
         Ok(())
     }
 
-    fn optimize_fat(_cgcx: &CodegenContext<Self>, _module: &ModuleCodegen<Self::Module>, _config: &ModuleConfig) -> Result<(), FatalError> {
+    fn optimize_fat(_cgcx: &CodegenContext<Self>, _module: &mut ModuleCodegen<Self::Module>) -> Result<(), FatalError> {
         // TODO(antoyo)
         Ok(())
     }