Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the new
wasmparser::VisitOperator
API (#420)
* move FuncValidator into FunctionBuilder type * add initial skeleton for VisitOperator impl of FunctionBuilder * make use of TranslationError instead of ModuleError in FunctionBuilder * move TranslationError into its own submodule * silence warning * silence fewer warnings in visit.rs * add TOTO annotation * implement VisitOperator for FunctionBuilder * use new VisitOperator impl * remove no longer used code The removed code has been superseeded by the new VisitOperator based implemenation. * fix no_std build error * clean up code in VisitOperator impl * implement rest of the VisitOperator trait * unsilence warnings in visit.rs * unsilence warnings in error.rs * rename internal method and fix doc links * apply rustfmt * use macro to implement most unsupported Wasm operators * rename FunctionBuilder -> FuncBuilder This creates more parity with the wasmparser::FuncValidator. * fix doc links * remove validator getter on FuncBuilder
- Loading branch information