diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2022-04-30 20:58:42 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-04-30 20:58:42 +0200 |
| commit | fab72301d9089761766b389df209986c2bc38e5d (patch) | |
| tree | 31539769a409546a5d822f09cd8183c40be22dda /compiler/rustc_codegen_gcc/src | |
| parent | ee94ff254aceccd27919f26c02541277a3ca7dd7 (diff) | |
| download | rust-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.rs | 2 |
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(()) } |
