mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
a081007265
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.