universal_wasm_loader 0.2.1
universal_wasm_loader: ^0.2.1 copied to clipboard
Web-first Dart loader for WebAssembly "DLL" modules. Auto-detects the companion .wit, applies the Canonical ABI (wasmtime profile), and returns a typed handle.
Changelog #
0.2.1 #
- Test fixtures are now byte-identical copies of the shared reference set (stamped in
test/fixtures/fixtures.json);strings_50.wasmandwasi_io_50.wasmupdated,init_check.watadded. - README: corrected the Runtime section, which said SPEC §10 was not implemented; added a
### ⚠️ Breaking Changestable (recording the 0.2.0_initializebehaviour change). - Releases are now checked by a compatibility gate (repository tooling, not part of the package): the public API is compared with the previous release, and its tests must still pass.
- No library code changes.
0.2.0 #
- SPEC §10 (producer model) loader capabilities:
- A minimal WASI Preview 1 shim (
wasi_snapshot_preview1) is always attached to the imports, so library modules that do I/O load in the browser.fd_writegoes toconsole.log/console.error;proc_exit,random_get,clock_time_get, environ/args and basicfd_*are provided. - A reactor module's exported
_initializeis now called once, automatically, right after instantiation (with or without a.wit). Do not call it again yourself.
- A minimal WASI Preview 1 shim (
- No public API changes.
0.1.0 #
- Initial release. Web-first Dart port of the Universal WASM Loader, implementing
cross-language
SPEC.mdv3.0.0 over the browserWebAssemblyAPI viadart:js_interop. wasmImport,createSingleton,InstancePool; WIT auto-detection; the@Nversion pin; full Canonical ABI (numerics pass-through,bool1/0 ↔ true/false, string params viacabi_realloc, callee-allocated string returns +cabi_post_<name>release).