A decoded WebAssembly module as plain C structs, borrowing the binary's bytes
$ sexc add @ajax/wasm-module- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 04:27v/# 1 version
- drwxr-xr-x-Oct 27 04:27files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 04:27 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/wasm-types ^0.1.0
- dependents
- @ajax/wasm-decode, @ajax/wasm-lower, @ajax/wasm-validate
- keywords
- wasm webassembly module
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/wasm-module 2 3A decoded WebAssembly module as plain C structs: types, imports, functions, tables, memories, globals, 4exports, the start function, element and data segments, and code bodies. Everything points into the 5binary it was decoded from (which must outlive it); only the arrays are owned (`wasm_module_free`). Index 6spaces put imports first, as the spec does. 7 8Produced by `@ajax/wasm-decode`, checked by `@ajax/wasm-validate`, run by `@ajax/wasm-interp`: the 9pieces of alpha-c-mesh's replacement for wasmtime in the port of alpha-rust-mesh's `mesh-host/src/wasm.rs`. 10 11Tests: through `@ajax/wasm-decode`.