about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-18 18:54:32 +0100
committerGitHub <noreply@github.com>2024-02-18 18:54:32 +0100
commit99560a428a8713c371ac2ef8f46a4d0aec3605c3 (patch)
tree6839174b5f86104678fe93494804d2c224bdc22b /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent8b21296b5db6d5724d6b8440dcf459fa82fd88b5 (diff)
parent51a7396ad3d78d9326ee1537b9ff29ab3919556f (diff)
downloadrust-99560a428a8713c371ac2ef8f46a4d0aec3605c3.tar.gz
rust-99560a428a8713c371ac2ef8f46a4d0aec3605c3.zip
Rollup merge of #118569 - blyxxyz:platform-os-str-slice, r=Mark-Simulacrum
Move `OsStr::slice_encoded_bytes` validation to platform modules

This delegates OS string slicing (`OsStr::slice_encoded_bytes`) validation to the underlying platform implementation. For now that results in increased performance and better error messages on Windows without any changes to semantics. In the future we may want to provide different semantics for different platforms.

The existing implementation is still used on Unix and most other platforms and is now optimized a little better.

Tracking issue: https://github.com/rust-lang/rust/issues/118485

cc `@epage,` `@BurntSushi`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions