wat_to_dcmstring_with_resolver

Function wat_to_dcmstring_with_resolver 

Source
pub fn wat_to_dcmstring_with_resolver(
    wat_src: &str,
    resolver: &dyn SyntaxRuleResolver,
) -> Result<DcMstring>
Expand description

Converts WebAssembly Text Format (.wat) source into a DcMstring using resolver.

ยงErrors

Returns an error if the .wat source fails to parse or cannot be encoded into DcMstring.