mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-29 08:31:32 +00:00
Improved import functions casting readability
This commit is contained in:
@ -218,7 +218,7 @@ impl Instance {
|
||||
"The import {}.{} is not provided, therefore will be mocked.",
|
||||
module, field
|
||||
);
|
||||
&(mock_fn as *const u8)
|
||||
&(mock_fn as _)
|
||||
} else {
|
||||
return Err(ErrorKind::LinkError(format!(
|
||||
"Imported function {}.{} was not provided in the import_functions",
|
||||
|
Reference in New Issue
Block a user