about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorThalia Archibald <thalia@archibald.dev>2025-02-28 13:31:15 -0800
committerThalia Archibald <thalia@archibald.dev>2025-02-28 13:50:31 -0800
commit83407b828bcf5c883b2ab50b958edbcba0738f6a (patch)
treecc88198d063fc6fe2d8f549f10f560281c9099e1 /compiler/rustc_codegen_llvm/src/errors.rs
parenta8d78fec52aec04254ec602851c4fd7c8469c592 (diff)
downloadrust-83407b828bcf5c883b2ab50b958edbcba0738f6a.tar.gz
rust-83407b828bcf5c883b2ab50b958edbcba0738f6a.zip
Specialize constructing OsString from strings
The WTF-8 version of `OsString` tracks whether it is known to be valid
UTF-8 with its `is_known_utf8` field. Specialize `From<AsRef<OsStr>>` so
this can be set for UTF-8 string types.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions