diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm-wasi-component/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-wasi-component/src/lib.rs b/src/wasm-wasi-component/src/lib.rs index facbe2a0..93c26214 100644 --- a/src/wasm-wasi-component/src/lib.rs +++ b/src/wasm-wasi-component/src/lib.rs @@ -259,6 +259,7 @@ impl GlobalState { // shouldn't get raw access to stdout/stderr. cx.inherit_stdout(); cx.inherit_stderr(); + cx.inherit_env(); for dir in self.global_config.dirs.iter() { cx.preopened_dir( dir, |