diff --git a/Cargo.toml b/Cargo.toml index 94c27a92e90..40fda1950f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,7 +69,6 @@ criterion = "0.3" lazy_static = "1.4" wasmer-engine-dummy = { path = "tests/lib/engine-dummy" } tempfile = "3.1" -loupe = "0.1" [features] # Don't add the compiler features in default, please add them on the Makefile diff --git a/examples/hello_world.rs b/examples/hello_world.rs index 87cb3a0efb5..55142db1c14 100644 --- a/examples/hello_world.rs +++ b/examples/hello_world.rs @@ -6,7 +6,6 @@ //! cargo run --example hello-world --release --features "cranelift" //! ``` -use loupe::size_of_val; use wasmer::{imports, wat2wasm, Function, Instance, Module, NativeFunc, Store}; use wasmer_compiler_cranelift::Cranelift; use wasmer_engine_jit::JIT; @@ -46,15 +45,11 @@ fn main() -> anyhow::Result<()> { // (`Cranelift`) and pass it to an engine (`JIT`). We then pass the engine to // the store and are now ready to compile and run WebAssembly! let store = Store::new(&JIT::new(Cranelift::default()).engine()); - dbg!(size_of_val(&store)); // We then use our store and Wasm bytes to compile a `Module`. // A `Module` is a compiled WebAssembly module that isn't ready to execute yet. let module = Module::new(&store, wasm_bytes)?; - dbg!(size_of_val(&store)); - dbg!(size_of_val(&module)); - // Next we'll set up our `Module` so that we can execute it. // We define a function to act as our "env" "say_hello" function imported in the @@ -78,9 +73,6 @@ fn main() -> anyhow::Result<()> { // and is ready to execute. let instance = Instance::new(&module, &import_object)?; - dbg!(size_of_val(&instance)); - dbg!(&instance.exports); - // We get the `NativeFunc` with no parameters and no results from the instance. // // Recall that the Wasm module exported a function named "run", this is getting