Support for accessing host environment variables #670
Labels
A-shims
Area: This affects the external function shims
C-enhancement
Category: a PR with an enhancement or an issue tracking an accepted enhancement
Miri currently starts with an empty environment, as noted on
Evaluator::env_vars
:/// Miri does not expose env vars from the host to the emulated program.
It would be nice to have some control over this from the command line, as suggested on reddit
by /u/0b_0101_001_1010.
Possible inspirations:
docker run -e
/--env
/--env-file
(ref)sudo -E
/--preserve-env
(ref)The text was updated successfully, but these errors were encountered: