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:
parent
35debd4c11
commit
16236470c1
7 changed files with 540 additions and 80 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue