Function wasmer_wasix::utils::get_wasi_versions

source ยท
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.