Parse the given Wasm bytes into a `ModuleInfo` tree.
(full_wasm: &'a [u8])
| 4 | |
| 5 | /// Parse the given Wasm bytes into a `ModuleInfo` tree. |
| 6 | pub(crate) fn parse<'a>(full_wasm: &'a [u8]) -> wasmtime::Result<ModuleContext<'a>> { |
| 7 | parse_with(full_wasm, &mut Parser::new(0).parse_all(full_wasm)) |
| 8 | } |
| 9 | |
| 10 | pub(crate) fn parse_with<'a>( |
| 11 | full_wasm: &'a [u8], |