class Wasmer::Wasi::Environment
- Wasmer::Wasi::Environment
- Reference
- Object
Overview
Environment
represents the environment provided to the WASI
Defined in:
wasmer/wasi.crInstance Method Summary
-
#generate_import_object(store : Store, mod : Module) : ImportObject
Generates an import object, that can be extended and passed to
Instance
-
#read_stderr : Bytes
Reads the WASI module STDERR if captured with
WasiStateBuilder#with_capture_stderr
-
#read_stdout : Bytes
Reads the WASI module STDOUT if captured with
WasiStateBuilder#with_capture_stdout
Instance Method Detail
Generates an import object, that can be extended and passed to Instance
def read_stderr : Bytes
#
Reads the WASI module STDERR if captured with WasiStateBuilder#with_capture_stderr
def read_stdout : Bytes
#
Reads the WASI module STDOUT if captured with WasiStateBuilder#with_capture_stdout