Skip to content

Commit c00ecf5

Browse files
committed
Remove config parameter of optimize_fat and avoid interior mutability for module
1 parent e2f645d commit c00ecf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ impl WriteBackendMethods for GccCodegenBackend {
229229
Ok(())
230230
}
231231

232-
fn optimize_fat(_cgcx: &CodegenContext<Self>, _module: &ModuleCodegen<Self::Module>, _config: &ModuleConfig) -> Result<(), FatalError> {
232+
fn optimize_fat(_cgcx: &CodegenContext<Self>, _module: &mut ModuleCodegen<Self::Module>) -> Result<(), FatalError> {
233233
// TODO(antoyo)
234234
Ok(())
235235
}

0 commit comments

Comments
 (0)