about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorChris Denton <christophersdenton@gmail.com>2025-04-13 11:48:18 +0000
committerGitHub <noreply@github.com>2025-04-13 11:48:18 +0000
commit8a6d6f5ae5ac4df026f752f4ac4a3335f2c55af0 (patch)
treeb5356c733fd3173e6ac28b310fe0e7c07edd54cc /compiler/rustc_codegen_llvm/src/errors.rs
parentf2a2135dc6efa9ac6fa5d0fcfec94ccaecb8b6c7 (diff)
parentb613e9781a773232f81af9f61a8c8ac34b04873a (diff)
downloadrust-8a6d6f5ae5ac4df026f752f4ac4a3335f2c55af0.tar.gz
rust-8a6d6f5ae5ac4df026f752f4ac4a3335f2c55af0.zip
Rollup merge of #139683 - ChrisDenton:windows-with-native, r=tgross35,joboet
Use `with_native_path` for Windows

Ideally, each platform should use their own native path type internally. This will, for example, allow passing a UTF-16 string directly to `std::fs::File::open` and therefore avoid the need for allocating a new null-terminated wide string. However, doing that for every function and platform all at once makes for a large PR that is way too prone to breaking. So this just does some of the Windows parts.

As with the previous Unix PR (#138832) this is intended to be merely a refactoring so I've avoided anything that may require more substantial changes.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions