mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
8 lines
171 B
Rust
8 lines
171 B
Rust
//@ 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());
|
|
}
|