wasmedge-rust-sdk icon indicating copy to clipboard operation
wasmedge-rust-sdk copied to clipboard

async only support linux?

Open ActivePeter opened this issue 1 year ago • 1 comments

pub fn wasi_enabled(&self) -> bool {
        #[cfg(not(feature = "async"))]
        unsafe {
            ffi::WasmEdge_ConfigureHasHostRegistration(
                self.inner.0,
                ffi::WasmEdge_HostRegistration_Wasi,
            )
        }
        #[cfg(all(feature = "async", target_os = "linux"))]
        {
            self.async_wasi_enabled
        }
    }

ActivePeter avatar Nov 13 '23 15:11 ActivePeter