cranelift-object: move relocation processing to finish
This removes the need to call `finalize_definitions` for cranelift-object. `finalize_definitions` is only intended for backends that produce finalized functions and data objects, which cranelift-object does not.
This commit is contained in:
committed by
Benjamin Bouvier
parent
376654bdfc
commit
3c15f8f129
@@ -311,7 +311,7 @@ impl Backend for FaerieBackend {
|
||||
// Nothing to do.
|
||||
}
|
||||
|
||||
fn finish(self) -> FaerieProduct {
|
||||
fn finish(self, _namespace: &ModuleNamespace<Self>) -> FaerieProduct {
|
||||
FaerieProduct {
|
||||
artifact: self.artifact,
|
||||
trap_manifest: self.trap_manifest,
|
||||
|
||||
Reference in New Issue
Block a user