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 2acaf65
Browse filesBrowse the repository at this point in the historyBrowse files
-**`send`:** Makes stores and store-local handles movable across threads. Host callbacks must implement `Send + Sync`. Stores still require exclusive access and do not use internal locks.
60
61
-**`simd-x86`:** Enables x86-specific SIMD intrinsics and uses `unsafe` internally.
61
62
62
-
With default features disabled, `tinywasm` depends only on `core`, `alloc`, and `libm`, making it usable in `no_std + alloc` environments.
63
+
With default features disabled, `tinywasm` supports `no_std + alloc` and depends only on `libm`.
64
+
65
+
`Module` is always cloneable, `Send`, and `Sync`. Stores and host callbacks are thread-local by default. The `send` feature makes stores movable across threads and requires `Send + Sync` host callbacks. It does not allow concurrent access to a store. Cargo feature unification applies these callback bounds to the whole dependency graph.
63
66
64
67
Use [`Engine`](https://docs.rs/tinywasm/latest/tinywasm/engine/struct.Engine.html) and [`engine::Config`](https://docs.rs/tinywasm/latest/tinywasm/engine/struct.Config.html) for non-default fuel accounting, stack sizing, or GC collection thresholds. A configured `ResourceLimiter` can allow, reject, or trap memory and table allocation or growth requests, and GC object allocations.
0 commit comments