1 2 3 4 5 6 7
// run-pass // rustc-env:MY_ENV=/ // Ensures that variables not defined through `--env-set` are still available. fn main() { assert!(!env!("MY_ENV").is_empty()); }