Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 238 Bytes
// run-pass
// exec-env:TEST_EXEC_ENV=22
// ignore-cloudabi no env vars
// 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()));
You can’t perform that action at this time.