[][src]Function wit_text::parse_str

pub fn parse_str(wat: impl AsRef<str>) -> Result<Vec<u8>, Error>

Parses an in-memory string as the textual representation of WebAssembly interface types and returned the binary serialization of the module.