diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-02-24 19:17:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-24 19:17:46 +0100 |
| commit | bf30b77a5ce9dd4921c2488b86d146d3d5d7ce38 (patch) | |
| tree | 2bb8e5261daaf4d63327457f911acb4e119fa67d /examples/wasm-rust.rs | |
| parent | 7f99f964f74f7e77203bd505e69411af6dcae040 (diff) | |
perf: reduce block overhead (#3)
Diffstat (limited to 'examples/wasm-rust.rs')
| -rw-r--r-- | examples/wasm-rust.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/wasm-rust.rs b/examples/wasm-rust.rs index b57a1da..cff38f5 100644 --- a/examples/wasm-rust.rs +++ b/examples/wasm-rust.rs @@ -18,6 +18,8 @@ use tinywasm::{Extern, FuncContext, Imports, MemoryStringExt, Module, Store}; /// https://github.com/WebAssembly/binaryen /// fn main() -> Result<()> { + pretty_env_logger::init(); + let args = std::env::args().collect::<Vec<_>>(); if args.len() < 2 { println!("Usage: cargo run --example wasm-rust <rust_example>"); |
