Skip to content

Commit

Permalink
feat: switch to own fork of wasmparser
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Gressmann <[email protected]>
  • Loading branch information
explodingcamera committed Feb 24, 2024
1 parent bf30b77 commit a0368bc
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 41 deletions.
116 changes: 105 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository.workspace=true

[dependencies]
# fork of wasmparser with no_std support, see https://github.com/bytecodealliance/wasmtime/issues/3495
wasmparser={version="0.100", package="wasmparser-nostd", default-features=false}
wasmparser={version="0.200.2", package="tinywasm-wasmparser", default-features=false}
log={version="0.4", optional=true}
tinywasm-types={version="0.4.0", path="../types", default-features=false}

Expand Down
4 changes: 2 additions & 2 deletions crates/parser/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `tinywasm-parser`

This crate provides a parser that can parse WebAssembly modules into a TinyWasm module. It is based on
[`wasmparser_nostd`](https://crates.io/crates/wasmparser_nostd) and used by [`tinywasm`](https://crates.io/crates/tinywasm).
This crate provides a parser that can parse WebAssembly modules into a TinyWasm module.
It uses [my fork](https://crates.io/crates/tinywasm-wasmparser) of the [`wasmparser`](https://crates.io/crates/wasmparser) crate that has been modified to be compatible with `no_std` environments.

## Features

Expand Down
Loading

0 comments on commit a0368bc

Please sign in to comment.