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 | c00ecf5d5dbc21db83eb1cd3e30ddda1f11079e3 (patch) | |
| tree | 1f631a2e5b103069172a812574bf7cb245d14c40 | |
| parent | e2f645dd7f98ea47c291cdd3c7ca55771c8c26d3 (diff) | |
| download | rust-c00ecf5d5dbc21db83eb1cd3e30ddda1f11079e3.tar.gz rust-c00ecf5d5dbc21db83eb1cd3e30ddda1f11079e3.zip | |
Remove config parameter of optimize_fat and avoid interior mutability for module
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index 72da59a1bf8..684b845c38a 100644 --- a/src/lib.rs +++ b/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(()) } |
