about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/macros.rs
diff options
context:
space:
mode:
authorThe8472 <git@infinite-source.de>2020-11-12 23:39:49 +0100
committerThe8472 <git@infinite-source.de>2020-11-13 22:38:27 +0100
commitbbfa92c82debed28417350b15fc6a2f46135346d (patch)
treec055bcfb0611b728298a87057f99d497919a55bb /compiler/rustc_middle/src/macros.rs
parent4854d418a5245b07eca7dbec92a29d18af13a821 (diff)
downloadrust-bbfa92c82debed28417350b15fc6a2f46135346d.tar.gz
rust-bbfa92c82debed28417350b15fc6a2f46135346d.zip
Always handle EOVERFLOW by falling back to the generic copy loop
Previously EOVERFLOW handling was only applied for io::copy specialization
but not for fs::copy sharing the same code.

Additionally we lower the chunk size to 1GB since we have a user report
that older kernels may return EINVAL when passing 0x8000_0000
but smaller values succeed.
Diffstat (limited to 'compiler/rustc_middle/src/macros.rs')
0 files changed, 0 insertions, 0 deletions