diff options
| author | bors <bors@rust-lang.org> | 2022-08-06 00:19:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-06 00:19:08 +0000 |
| commit | 74c5f1b468f000a9a94c6f72d08006f71d5d661e (patch) | |
| tree | cc7f4c42b0622a367c35c90ea39ef0e3a03c0de7 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff | |
| parent | 1a87926a312fca90033c03c2ece5257e960dd242 (diff) | |
| parent | 6d14a5e2a7c17f1fec43c319cc9317ded44701ea (diff) | |
| download | rust-74c5f1b468f000a9a94c6f72d08006f71d5d661e.tar.gz rust-74c5f1b468f000a9a94c6f72d08006f71d5d661e.zip | |
Auto merge of #2465 - RalfJung:strerror_r, r=RalfJung
avoid strerror_r failure on unknown errnum This is an informative function anyway, so as fallback just return a string with the raw errnum. Avoids panics / interpreter aborts in std on unknown errnum in from_raw_os_error.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
