mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 05:08:19 +00:00
@@ -1,5 +1,4 @@
|
||||
use crate::sys::{MemoryType, Pages, TableType};
|
||||
use loupe::MemoryUsage;
|
||||
use std::ptr::NonNull;
|
||||
use std::sync::Arc;
|
||||
use target_lexicon::PointerWidth;
|
||||
@@ -19,7 +18,7 @@ use wasmer_vm::{
|
||||
/// implementation or use composition to wrap your Tunables around
|
||||
/// this one. The later approach is demonstrated in the
|
||||
/// tunables-limit-memory example.
|
||||
#[derive(Clone, MemoryUsage)]
|
||||
#[derive(Clone)]
|
||||
pub struct BaseTunables {
|
||||
/// For static heaps, the size in wasm pages of the heap protected by bounds checking.
|
||||
pub static_memory_bound: Pages,
|
||||
|
||||
Reference in New Issue
Block a user