1 2 3 4 5 6 7
#![deny(warnings)] use std::env::current_dir; fn main() { println!("{}", current_dir().unwrap().to_string_lossy()); }