diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2023-10-06 08:22:35 -0400 |
|---|---|---|
| committer | Tamir Duberstein <tamird@gmail.com> | 2023-10-06 08:54:14 -0400 |
| commit | a081007265044a7baa0f23c286b6380be35c8bb0 (patch) | |
| tree | aa73a87e34071378e5f04e2c705077f711b1de84 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 7654d4b39833bc6fc0b0bcd184a616ff6ac7d9bd (diff) | |
| download | rust-a081007265044a7baa0f23c286b6380be35c8bb0.tar.gz rust-a081007265044a7baa0f23c286b6380be35c8bb0.zip | |
rustc_driver: avoid fallible conversions
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
