-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add -Zmiri-env-set
to set environment variables without modifying the host environment
#3493
Conversation
Doesn't rustc have some flag to sent env vars nowadays? Should we just reuse that instead of adding our own? |
I'm not aware of such flag |
rust-lang/compiler-team#653 was the decision to add it. Tracking issue is at rust-lang/rust#118372, so it seems to have been implemented. |
Do we want the same flag for compile-time |
Fair, I guess it makes sense to treat them separately. |
…he host environment This option allows to pass environment variables to the interpreted program without needing to modify the host environment (which may have undesired effects in some cases).
@bors r+ |
☀️ Test successful - checks-actions |
This option allows to pass environment variables to the interpreted program without needing to modify the host environment (which may have undesired effects in some cases).