mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 17:26:12 +00:00
8 lines
165 B
Rust
8 lines
165 B
Rust
// run-pass
|
|
// rustc-env:MY_ENV=/
|
|
// Ensures that variables not defined through `--env` are still available.
|
|
|
|
fn main() {
|
|
assert!(!env!("MY_ENV").is_empty());
|
|
}
|