-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Tracking issue for --env-set
flag
#118372
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
Labels
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
Comments
This was referenced Jan 13, 2024
We discussed about how it might impact rust-lang/rfcs#2794 and decided to rename it into |
This was referenced Jan 13, 2024
--env
flag--env-set
flag
Hi! I see the stabilization PR was closed. What's the state of this then? My 2cents on a couple points:
If help is needed here I'd like to provide some! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
Adds a new
--env-set
command line option on rustc. It allows to set environment variables value at compile-time to be used byenv!
andoption_env!
macros.When retrieving and environment variable value, the one specified by
--env-set
will take precedence. For example if you want havePATH=a
in your environment and pass--env-set PATH=env
, then you will have:Steps
--env
compiler flag (withouttracked_env
support) #118368, in Add support for--env
ontracked_env::var
#118830 and in Rename--env
option flag to--env-set
#119884--env-set
option #119926Unresolved questions
--env
variable is passed twice?The text was updated successfully, but these errors were encountered: