diff options
| author | bors <bors@rust-lang.org> | 2022-09-25 06:53:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-25 06:53:14 +0000 |
| commit | 8e9c93df464b7ada3fc7a1c8ccddd9dcb24ee0a0 (patch) | |
| tree | 0ddc2ed198eb887005d4fab4a97c8c6aa5c3f508 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | e20fabb0d04cb25fe3159d58920856533f1b5cf0 (diff) | |
| parent | bcf780e2ba00dbe5a81502ef541dbc0f4fb76ebb (diff) | |
| download | rust-8e9c93df464b7ada3fc7a1c8ccddd9dcb24ee0a0.tar.gz rust-8e9c93df464b7ada3fc7a1c8ccddd9dcb24ee0a0.zip | |
Auto merge of #99609 - workingjubilee:lossy-unix-strerror, r=thomcc
Recover error strings on Unix from_lossy_utf8 Some language settings can result in unreliable UTF-8 being produced. This can result in failing to emit the error string, panicking instead. from_lossy_utf8 allows us to assume these strings usually will be fine. This fixes rust-lang#99535.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
