Skip to main content

read

Function read 

Source
pub fn read(path: &Path) -> Result<InfoReport>
Expand description

Read a compiled component .wasm and project it into an InfoReport.

Returns an error only if the file can’t be read or is not a valid WebAssembly Component Model binary. A missing manifest is not an error — the report’s manifest_source is simply None.