mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
11 lines
211 B
Rust
11 lines
211 B
Rust
//@ run-pass
|
|
//@ exec-env:TEST_EXEC_ENV=22
|
|
//@ ignore-emscripten FIXME: issue #31622
|
|
//@ ignore-sgx unsupported
|
|
|
|
use std::env;
|
|
|
|
pub fn main() {
|
|
assert_eq!(env::var("TEST_EXEC_ENV"), Ok("22".to_string()));
|
|
}
|