A Bytecode Alliance project
Note: WebAssembly Interface Types are experimental and subject to a good deal of change. It's not recommended to rely on this if you're not comfortable with some breakage.
First you'll want to add this crate to your
[dependencies] wit-text = "0.1.0"
You can then use the free-functions of this crate to parse a text file or
in-memory string into the binary wasm representation. Note that compatibility is
provided with the
wast crate if you'd like to
reuse the parser for other file formats as well.
This project is licensed under the Apache 2.0 license with the LLVM exception. See LICENSE for more details.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.