From c67ce64bfc88eada4d2b611e30b2dd307a7f7526 Mon Sep 17 00:00:00 2001 From: Henry Date: Sat, 29 Aug 2026 22:20:03 +0200 Subject: feat: add nightly tail-call interpreter dispatch Signed-off-by: Henry --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 20c432a..383b007 100644 --- a/README.md +++ b/README.md @@ -50,15 +50,17 @@ See the [examples](./examples) directory and [documentation](https://docs.rs/tin - **`full`:** Enables `archive`, `parallel-parser`, `parser`, and `validate`. Enabled by default. - **`std`:** Enables `std` and parsing from files and streams. Enabled by default. -- **`log`:** Enables integration with the `log` crate. Enabled by default. - **`parser`:** Enables `tinywasm-parser` and top-level parse helpers. Enabled by default. - **`validate`:** Enables WebAssembly validation while parsing. Enabled by default and configurable through [`ParserOptions`](https://docs.rs/tinywasm/latest/tinywasm/parser/struct.ParserOptions.html). +- **`parallel-parser`:** Parallelizes function parsing when `std` is enabled. Enabled by default. - **`archive`:** Enables serialization and deserialization of the internal `twasm` format. Enabled by default. +- **`log`:** Enables integration with the `log` crate. Enabled by default. +- **`send`:** Makes stores and store-local handles movable across threads. +- **`portable-atomic`:** Supports targets without native atomic compare-and-swap. - **`canonicalize-nans`:** Uses a [canonical NaN](https://en.wikipedia.org/wiki/NaN#Canonical_NaN) for normalized NaN results. Enabled by default. - **`debug`:** Derives `Debug` for runtime types. Enabled by default. -- **`parallel-parser`:** Parallelizes function parsing when `std` is enabled. Enabled by default. - **`guest-debug`:** Exposes module-internal by-index inspection APIs (`*_by_index`). -- **`send`:** Makes stores and store-local handles movable across threads +- **`nightly-tail-calls`:** Uses Rust's unstable explicit tail calls for interpreter dispatch. Requires nightly Rust (recommended for maximum performance). - **`simd-x86`:** Enables x86-specific SIMD intrinsics and uses `unsafe` internally. With default features disabled, `tinywasm` supports `no_std + alloc` and depends only on `libm`. -- cgit v1.3.1