summaryrefslogtreecommitdiff
path: root/crates/parser
diff options
context:
space:
mode:
Diffstat (limited to 'crates/parser')
-rw-r--r--crates/parser/Cargo.toml1
-rw-r--r--crates/parser/src/lib.rs1
2 files changed, 1 insertions, 1 deletions
diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml
index 1bd4ea3..9e6dc71 100644
--- a/crates/parser/Cargo.toml
+++ b/crates/parser/Cargo.toml
@@ -9,7 +9,6 @@ repository.workspace=true
[dependencies]
# fork of wasmparser with no_std support, see https://github.com/bytecodealliance/wasmtime/issues/3495
-# TODO: create dependency free parser
wasmparser={version="0.100", package="wasmparser-nostd", default-features=false}
log={version="0.4", optional=true}
tinywasm-types={version="0.2.0-alpha.0", path="../types"}
diff --git a/crates/parser/src/lib.rs b/crates/parser/src/lib.rs
index 22e2661..561d5c6 100644
--- a/crates/parser/src/lib.rs
+++ b/crates/parser/src/lib.rs
@@ -10,6 +10,7 @@ extern crate alloc;
#[allow(clippy::single_component_path_imports)]
use log;
+// noop fallback if logging is disabled.
#[cfg(not(feature = "logging"))]
mod log {
macro_rules! debug ( ($($tt:tt)*) => {{}} );