about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2023-10-06 08:22:35 -0400
committerTamir Duberstein <tamird@gmail.com>2023-10-06 08:54:14 -0400
commita081007265044a7baa0f23c286b6380be35c8bb0 (patch)
treeaa73a87e34071378e5f04e2c705077f711b1de84 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent7654d4b39833bc6fc0b0bcd184a616ff6ac7d9bd (diff)
downloadrust-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