1
Fork 0

specialize io::copy to use copy_file_range, splice or sendfile

Currently it only applies to linux systems. It can be extended to make use
of similar syscalls on other unix systems.
This commit is contained in:
The8472 2020-07-29 00:35:01 +02:00
parent 35debd4c11
commit 16236470c1
7 changed files with 540 additions and 80 deletions

View file

@ -316,6 +316,7 @@
#![feature(toowned_clone_into)]
#![feature(total_cmp)]
#![feature(trace_macros)]
#![feature(try_blocks)]
#![feature(try_reserve)]
#![feature(unboxed_closures)]
#![feature(unsafe_block_in_unsafe_fn)]