mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 13:18:20 +00:00
cargo fmt
This commit is contained in:
@@ -141,7 +141,11 @@ fn is_table_element_type_compatible(exported_type: Type, imported_type: Type) ->
|
||||
}
|
||||
}
|
||||
|
||||
fn is_table_compatible(exported: &TableType, imported: &TableType, imported_runtime_size: Option<u32>) -> bool {
|
||||
fn is_table_compatible(
|
||||
exported: &TableType,
|
||||
imported: &TableType,
|
||||
imported_runtime_size: Option<u32>,
|
||||
) -> bool {
|
||||
let TableType {
|
||||
ty: exported_ty,
|
||||
minimum: exported_minimum,
|
||||
|
||||
@@ -365,7 +365,7 @@ impl VMMemory {
|
||||
pub fn get_runtime_size(&self) -> u32 {
|
||||
unsafe { self.0.vmmemory().as_ref() }.current_length as u32
|
||||
}
|
||||
|
||||
|
||||
/// Create a new linear memory instance with specified minimum and maximum number of wasm pages.
|
||||
///
|
||||
/// This creates a `Memory` with metadata owned by a VM, pointed to by
|
||||
|
||||
Reference in New Issue
Block a user