mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-05 02:20:19 +00:00
Fixed lints
This commit is contained in:
parent
28351402aa
commit
21f7baec99
@ -285,7 +285,7 @@ pub unsafe extern "C" fn wasmer_module_deserialize(
|
||||
let serialized_module: &[u8] = &*(serialized_module as *const &[u8]);
|
||||
|
||||
match Artifact::deserialize(serialized_module) {
|
||||
Ok(artifact) => match load_cache_with(artifact, &default_compiler()) {
|
||||
Ok(artifact) => match load_cache_with(artifact, &*default_compiler()) {
|
||||
Ok(deserialized_module) => {
|
||||
*module = Box::into_raw(Box::new(deserialized_module)) as _;
|
||||
wasmer_result_t::WASMER_OK
|
||||
|
Loading…
Reference in New Issue
Block a user