mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 13:28:49 +00:00
chore(compiler-cranelift) It's cheaper to copy TargetFrontendConfig rather than ref.
Learn more at https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref.
This commit is contained in:
@@ -715,7 +715,7 @@ impl<'module_environment> BaseFuncEnvironment for FuncEnvironment<'module_enviro
|
||||
Ok(GlobalVariable::Memory {
|
||||
gv: ptr,
|
||||
offset: offset.into(),
|
||||
ty: type_to_irtype(self.module.globals[index].ty, &self.target_config())?,
|
||||
ty: type_to_irtype(self.module.globals[index].ty, self.target_config())?,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user