Remove loupe dependency

Closes #2731
Closes #2744
This commit is contained in:
Manos Pitsidianakis
2022-05-04 20:33:52 +03:00
parent 92b7cb01b5
commit 00f9a3c8d7
99 changed files with 126 additions and 479 deletions

View File

@@ -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,