Function wasmer_wasi_asml_fork::get_wasi_versions[][src]

pub fn get_wasi_versions(
    module: &Module,
    strict: bool
) -> Option<BTreeSet<WasiVersion>>
Expand description

Like get_wasi_version but detects multiple WASI versions in a single module. Thus strict behaves differently in this function as multiple versions are always supported. strict indicates whether non-WASI imports should trigger a failure or be ignored.