diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2025-11-27 22:11:43 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2025-11-27 22:11:43 +0100 |
| commit | f7f77cd3026e39a2c29faf539575ef57165c81db (patch) | |
| tree | a3de97f1b68a0bdafd32d5d52308e8045b6c150f /crates/parser/src | |
| parent | 3e58e9846fe613f34e72d040463be5ab7e191e8b (diff) | |
chore: remove unstable-simd feature, rename logging feature to log
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/src')
| -rw-r--r-- | crates/parser/src/lib.rs | 5 | ||||
| -rw-r--r-- | crates/parser/src/visit.rs | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/crates/parser/src/lib.rs b/crates/parser/src/lib.rs index 3f45db8..3f543b6 100644 --- a/crates/parser/src/lib.rs +++ b/crates/parser/src/lib.rs @@ -13,12 +13,12 @@ extern crate alloc; extern crate std; // log for logging (optional). -#[cfg(feature = "logging")] +#[cfg(feature = "log")] #[allow(clippy::single_component_path_imports, unused_imports)] use log; // noop fallback if logging is disabled. -#[cfg(not(feature = "logging"))] +#[cfg(not(feature = "log"))] #[allow(unused_imports, unused_macros)] pub(crate) mod log { macro_rules! debug ( ($($tt:tt)*) => {{}} ); @@ -67,6 +67,7 @@ impl Parser { bulk_memory_opt: true, call_indirect_overlong: true, + custom_descriptors: false, cm_threading: false, extended_const: false, wide_arithmetic: false, diff --git a/crates/parser/src/visit.rs b/crates/parser/src/visit.rs index 4ae2cc1..9b9ab75 100644 --- a/crates/parser/src/visit.rs +++ b/crates/parser/src/visit.rs @@ -158,7 +158,7 @@ macro_rules! impl_visit_operator { (@@$proposal:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident ($($ann:tt)*)) => { #[cold] - fn $visit(&mut self $($(,$arg: $argty)*)?) { + fn $visit(&mut self $($(,_: $argty)*)?) { self.unsupported(stringify!($visit)) } }; |
