mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
12 lines
249 B
Rust
12 lines
249 B
Rust
// run-pass
|
|
|
|
use std::env;
|
|
use std::fs;
|
|
use std::path::PathBuf;
|
|
|
|
fn main() {
|
|
let path = PathBuf::from(env::var_os("RUST_TEST_TMPDIR").unwrap());
|
|
env::set_current_dir(&path).unwrap();
|
|
fs::create_dir_all("create-dir-all-bare").unwrap();
|
|
}
|