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
{{ message }}
Repository navigation
std::env::var should mention env! or option_env! #138159
std::env::var operates at runtime, env! and option_env! at compile time.
The reverse link from the macro to the function exists already, but env! / option_env! should also be mentioned in std::env::var's docs.
Activity
GuillaumeGomez commentedon Mar 7, 2025
Interested into sending a fix?
CosminPerRam commentedon Mar 7, 2025
I'm up for the fix if OP is not.
GuillaumeGomez commentedon Mar 7, 2025
Sorry, only saw your message after opening #138189...
Rollup merge of rust-lang#138189 - GuillaumeGomez:env-var, r=joshtrip…
Unrolled build for rust-lang#138189
Rollup merge of rust-lang#138189 - GuillaumeGomez:env-var, r=joshtrip…