Skip to main content

wasi_stdio_mode_enabled

Function wasi_stdio_mode_enabled 

Source
pub fn wasi_stdio_mode_enabled(value: Option<&str>) -> bool
Expand description

Returns whether WASI stdio mode has been explicitly enabled.

§Parameters

§Returns

Returns true when the condition checked by crate::binaries::wasi_stdio_mode_enabled holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::binaries::wasi_stdio_mode_enabled("value");
  • crate::binaries for adjacent helpers that share the same runtime surface.