diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2024-03-06 12:42:32 +0100 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2024-03-06 12:42:32 +0100 |
| commit | 214c49837a56c402ab28f7dd5eff08c7ae709c09 (patch) | |
| tree | c1d498f8619cf3b5f2d2241cb3d57394c5c078c2 /compiler/rustc_mir_transform/src | |
| parent | 80399064afa4a2cd153f30d02c25f7ea0383ed65 (diff) | |
| download | rust-214c49837a56c402ab28f7dd5eff08c7ae709c09.tar.gz rust-214c49837a56c402ab28f7dd5eff08c7ae709c09.zip | |
Less syscalls for the `copy_file_range` probe
If it's obvious from the actual syscall results themselves that the syscall is supported or unsupported, don't do an extra syscall with an invalid file descriptor. CC #122052
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
