You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like wasmer currently forwards along all the host's environment variables by default. We'll probably make a breaking change here eventually (so the sooner the better, I guess).
We did have a bug with WASI env var syscalls that should be fixed in #476 ! So hopefully they work now
476: fix bug in wasi::environ_get, fix off by one error in env_size_get r=MarkMcCaskey a=MarkMcCaskey
adds `--env` flag (resolves#475)
fixes other wasi env bugs
adds wasi envvar test
Co-authored-by: Mark McCaskey <[email protected]>
I couldn't find a way to set an environment variable neither in the help nor in the Rust code.
Motivation
Because it's an easy way to configure a program's behavior.
Proposed solution
Add a
--env key=value
cli option.The text was updated successfully, but these errors were encountered: