class

Wasmer::Wasi::Environment

Inherits Reference / Object

Environment represents the environment provided to the WASI

Instance methods

generate_import_object(store : Store, mod : Module) : ImportObject

Generates an import object, that can be extended and passed to Instance

Source
read_stderr

Reads the WASI module STDERR if captured with WasiStateBuilder#with_capture_stderr

Source
read_stdout

Reads the WASI module STDOUT if captured with WasiStateBuilder#with_capture_stdout

Source