Skip to content

Commit

Permalink
feature gate simd_visitor impl
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Nov 20, 2024
1 parent c419be7 commit 5c1eeb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/wasmparser/src/validator/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ impl ModuleState {
impl<'a> VisitOperator<'a> for VisitConstOperator<'a> {
type Output = Result<()>;

#[cfg(feature = "simd")]
fn simd_visitor(
&mut self,
) -> Option<&mut dyn crate::VisitSimdOperator<'a, Output = Self::Output>> {
Expand Down

0 comments on commit 5c1eeb4

Please sign in to comment.