Function wasm::validate

source ยท
pub fn validate(wasm: &[u8]) -> Result<ValidationInfo<'_>>