diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-04-07 19:59:49 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-04-21 15:24:18 +0000 |
| commit | de372d3fff28d21e48e91b0ec7203d25158ff7fa (patch) | |
| tree | e3719e6f802b78a8e642ddc5ee67c58c43da1284 /src | |
| parent | 91114bd289cf92c7b62b1d2d53f2467024d9cf07 (diff) | |
| download | rust-de372d3fff28d21e48e91b0ec7203d25158ff7fa.tar.gz rust-de372d3fff28d21e48e91b0ec7203d25158ff7fa.zip | |
Update to Cranelift 0.119
Diffstat (limited to 'src')
| -rw-r--r-- | src/unwind_module.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/unwind_module.rs b/src/unwind_module.rs index f963dc79fbb..0864bd8d84f 100644 --- a/src/unwind_module.rs +++ b/src/unwind_module.rs @@ -1,10 +1,10 @@ +use cranelift_codegen::Context; use cranelift_codegen::control::ControlPlane; -use cranelift_codegen::ir::{Function, Signature}; +use cranelift_codegen::ir::Signature; use cranelift_codegen::isa::{TargetFrontendConfig, TargetIsa}; -use cranelift_codegen::{Context, FinalizedMachReloc}; use cranelift_module::{ DataDescription, DataId, FuncId, FuncOrDataId, Linkage, Module, ModuleDeclarations, - ModuleResult, + ModuleReloc, ModuleResult, }; use cranelift_object::{ObjectModule, ObjectProduct}; @@ -101,10 +101,9 @@ impl<T: Module> Module for UnwindModule<T> { fn define_function_bytes( &mut self, _func_id: FuncId, - _func: &Function, _alignment: u64, _bytes: &[u8], - _relocs: &[FinalizedMachReloc], + _relocs: &[ModuleReloc], ) -> ModuleResult<()> { unimplemented!() } |
