You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9922409
Browse filesBrowse the repository at this point in the historyBrowse files
Set `RUST_LOG=debug` when running `cargo test-wast` to see executor debug logs.
40
40
41
-
The `rust` example requires the `wasm32-unknown-unknown` target, the `rust-src` component, [Binaryen](https://github.com/WebAssembly/binaryen), and [WABT](https://github.com/WebAssembly/wabt):
42
-
43
-
```bash
44
-
./examples/rust/build.sh
45
-
cargo run --example rust -- hello
46
-
```
47
-
48
41
You can use [samply](https://github.com/mstange/samply/) for profiling:
49
42
50
43
```bash
51
44
cargo install --locked samply
52
-
samply record -- cargo run --profile samply --example rust -- tinywasm
45
+
samply record -- cargo bench-suite execute/nested_tinywasm
53
46
```
54
47
55
48
Keep changes focused and external dependencies to a minimum. Update public documentation, the README, and the unreleased changelog when applicable.
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ See its [README](./crates/c-api/README.md) for installation and usage.
58
58
## Cargo Features
59
59
60
60
-**`full`:** Enables `archive`, `debug`, `parallel-parser`, `parser`, `state`, and `validate`. Enabled by default.
61
-
-**`std`:** Enables `std` and parsing from files and streams. Enabled by default.
61
+
-**`std`:** Enables parsing from files and streams, shared memory handles, and blocking atomic wait/notify across stores. Enabled by default.
62
62
-**`parser`:** Enables `tinywasm-parser` and top-level parse helpers. Enabled by default.
63
63
-**`validate`:** Enables WebAssembly validation while parsing. Enabled by default and configurable through [`ParserOptions`](https://docs.rs/tinywasm/latest/tinywasm/parser/struct.ParserOptions.html).
64
64
-**`parallel-parser`:** Parallelizes function parsing when `std` is enabled. Enabled by default.
@@ -116,14 +116,18 @@ TinyWasm generally implements non-JavaScript core proposals at [phase 4](https:/
Tinywasm includes a small benchmark suite at [`crates/bench`](crates/bench) that runs a set of WebAssembly modules and measures execution time. For comparisons with other runtimes, check out the great [wasmi-benchmarks](https://github.com/wasmi-labs/wasmi-benchmarks) repository.
130
+
127
131
## See Also
128
132
129
133
If you're looking for a WebAssembly runtime with JIT compilation, better performance or other advanced features, check out these other runtimes:
0 commit comments