parity-wasm-0.8.2 doesn't have any documentation.
parity-wasm
Rust WebAssembly format serializing/deserializing
along with experimental interpreter
extern crate parity_wasm;
let module = deserialize_file;
assert_eq!;
let code_section = module.code_section.unwrap; // Part of the module with functions code
println!;
Wabt Test suite
There is work in progress on supporting wabt test suite (https://github.com/WebAssembly/testsuite), only limited subset of the wabt tests are executed in the moment. To run those tests:
- make sure you have all prerequisites to build
wabt
(since parity-wasm builds it internally usingcmake
, see https://github.com/WebAssembly/wabt) - checkout with submodules (
git submodule update --init
) - run
cargo test --release --manifest-path=spec/Cargo.toml
License
parity-wasm
is primarily distributed under the terms of both the MIT
license and the Apache License (Version 2.0), at your choice.
See LICENSE-APACHE, and LICENSE-MIT for details.