Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
env-macro
/
env-not-env.rs
blob: e903eab4e96b5fd8016f7c1de6e94895878e1cb8 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
());
}