Function wast2json::wast2json

source ·
pub fn wast2json<M: WriteModuleFile>(
    source_filename: &PathBuf,
    source: &str,
    module_basename: &str,
    module_files: &mut M,
    options: &Wast2JsonOptions
) -> Result<WastJsonScript, Error>
Expand description

Converts a wast file to its wast2json representation.