diff options
| author | Mads Marquart <mads@marquart.dk> | 2024-05-06 08:20:48 +0200 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2024-05-06 09:14:38 +0200 |
| commit | ff41c99bb88b0309f5400f2c69d2ecccf3dbbb14 (patch) | |
| tree | f0764f1af2282e1c3823a0d46068b4cd0a34e91e /compiler/rustc_errors/src/snippet.rs | |
| parent | 28622c9e526ea3d1bd31eba546fc73eeb717752a (diff) | |
| download | rust-ff41c99bb88b0309f5400f2c69d2ecccf3dbbb14.tar.gz rust-ff41c99bb88b0309f5400f2c69d2ecccf3dbbb14.zip | |
iOS/tvOS/watchOS/visionOS: Improve File Debug impl
This uses `libc::fcntl`, which, while not explicitly marked as available in the headers, is already used by `File::sync_all` and `File::sync_data` on these platforms, so should be fine to use here as well.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
