mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-08 05:19:01 +00:00
Use `std::path::PathBuf` rather than `String`; use `std::env::var_os` rather than `std::env::var`. These changes avoid a number of error paths which can arise in the presence of non-UTF-8 paths.