Function wasi::cli::environment::get_environment

source ยท
pub fn get_environment() -> Vec<(String, String)>
Expand description

Get the POSIX-style environment variables.

Each environment variable is provided as a pair of string variable names and string value.

Morally, these are a value import, but until value imports are available in the component model, this import function should return the same values each time it is called.