diff options
| author | bors <bors@rust-lang.org> | 2024-05-20 05:56:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-20 05:56:36 +0000 |
| commit | 41c006e21ac0d49ea7677cb2eb14ecb1609a9508 (patch) | |
| tree | 32d6517b96cdcc9933d1c51d37e2661d71edf570 /compiler/rustc_mir_transform/src/coverage/counters.rs | |
| parent | e93268eee27a97d1117a887eb233a3d3041d01b0 (diff) | |
| parent | 37a37f6ab33efea6d44a53853cb4ae00efcfde57 (diff) | |
| download | rust-41c006e21ac0d49ea7677cb2eb14ecb1609a9508.tar.gz rust-41c006e21ac0d49ea7677cb2eb14ecb1609a9508.zip | |
Auto merge of #3610 - marc0246:missing-error-kinds, r=RalfJung
Use `throw_unsup_format!` instead of returning `ENOTSUP` in the mmap shim
I noticed this while trying to use `mmap` with `PROT_NONE`, which resulted in this error message:
```
Os { code: 95, kind: Uncategorized, message: "<unknown errnum in strerror_r: 95>" }
```
cc `@saethlin`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions
