rust/library
bors a29dada983 Auto merge of #108283 - the8472:remove-splice-into-pipe, r=ChrisDenton
don't splice from files into pipes in io::copy

This fixes potential data ordering issue where a write performed after a copy operation could become visible in the copy even though it signaled completion.

I assumed that by not setting `SPLICE_F_MOVE` we would be safe and the kernel would do a copy in kernel space and we could avoid the read-write syscall and copy-to/from-userspace costs. But apparently that flag only makes a difference when splicing from a pipe, but not when splicing into it.

Context: https://lkml.org/lkml/2023/2/9/673
2023-04-13 04:03:10 +00:00
..
alloc Derive String's PartialEq implementation 2023-04-05 20:58:21 +02:00
backtrace@07872f28cd
core Rollup merge of #110190 - cbeuw:mir-offset, r=oli-obk 2023-04-12 17:04:32 +02:00
panic_abort Remove unnecessary raw pointer in __rust_start_panic arg 2023-03-26 16:40:18 +00:00
panic_unwind Remove unnecessary raw pointer in __rust_start_panic arg 2023-03-26 16:40:18 +00:00
portable-simd
proc_macro
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Auto merge of #108283 - the8472:remove-splice-into-pipe, r=ChrisDenton 2023-04-13 04:03:10 +00:00
stdarch@b655243782 Update stdarch 2023-03-19 20:41:22 +00:00
test Implementing "<test_binary> --list --format json" #107307 #49359 2023-03-15 14:20:20 -04:00
unwind Rollup merge of #96971 - zhaixiaojuan:master, r=wesleywiser 2023-04-11 20:28:45 -07:00