wasmparser
pub fn validate( bytes: &[u8], config: Option<ValidatingParserConfig>) -> Result<()>
Test whether the given buffer contains a valid WebAssembly module, analogous to WebAssembly.validate in the JS API.