Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
ddb81ce68047d6383a789c8da514e443faea8349
/
.
/
tests
/
ui
/
exec-env.rs
blob: 9054b378f5679b88197781e2a8431fddee1f8d00 [
file
] [
log
] [
blame
]
//@ run-pass
//@ exec-env:TEST_EXEC_ENV=22
//@ ignore-wasm32 wasm runtimes aren't configured to inherit env vars yet
//@ ignore-sgx unsupported
use
std
::
env
;
pub
fn
main
()
{
assert_eq
!(
env
::
var
(
"TEST_EXEC_ENV"
),
Ok
(
"22"
.
to_string
()));
}