mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-23 13:41:32 +00:00
Fix unused import 'vm' on Windows
This commit is contained in:
@ -7,7 +7,6 @@ use wasmer_runtime_core::{
|
|||||||
module::ModuleInfo,
|
module::ModuleInfo,
|
||||||
structures::TypedIndex,
|
structures::TypedIndex,
|
||||||
types::{GlobalIndex, LocalOrImport, TableIndex},
|
types::{GlobalIndex, LocalOrImport, TableIndex},
|
||||||
vm,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#[derive(Default, Debug, Clone)]
|
#[derive(Default, Debug, Clone)]
|
||||||
@ -71,6 +70,7 @@ impl StackmapEntry {
|
|||||||
FunctionStateMap, MachineStateDiff, MachineValue, OffsetInfo, RegisterIndex,
|
FunctionStateMap, MachineStateDiff, MachineValue, OffsetInfo, RegisterIndex,
|
||||||
SuspendOffset, WasmAbstractValue,
|
SuspendOffset, WasmAbstractValue,
|
||||||
};
|
};
|
||||||
|
use wasmer_runtime_core::vm;
|
||||||
|
|
||||||
let func_base_addr = (size_record.function_address as usize)
|
let func_base_addr = (size_record.function_address as usize)
|
||||||
.checked_sub(code_addr)
|
.checked_sub(code_addr)
|
||||||
|
Reference in New Issue
Block a user