about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-07-10 11:07:25 +0000
committerbors <bors@rust-lang.org>2015-07-10 11:07:25 +0000
commitd0d37075a54b68df99c46d42655a06c575eecd3f (patch)
tree03a0f0e30444469beca4f346f495b368ed37d2d2 /src/libstd/sys/unix/stack_overflow.rs
parent4695fbde2157d1a172cea5df99bd661c4aa1204a (diff)
parent1d202692ecfddb4b731993a5db4271c8698cbade (diff)
downloadrust-d0d37075a54b68df99c46d42655a06c575eecd3f.tar.gz
rust-d0d37075a54b68df99c46d42655a06c575eecd3f.zip
Auto merge of #26751 - retep998:copy-that-floppy, r=alexcrichton
Using the OS mechanism for copying files allows the OS to optimize the transfer using stuff such as [Offloaded Data Transfers (ODX)](https://msdn.microsoft.com/en-us/library/windows/desktop/hh848056%28v=vs.85%29.aspx).
Also preserves a lot more information, including NTFS [File Streams](https://msdn.microsoft.com/en-us/library/windows/desktop/aa364404%28v=vs.85%29.aspx), which the manual implementation threw away.
In addition, it is an atomic operation, unlike the manual implementation which has extra calls for copying over permissions.

r? @alexcrichton 
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions