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-10-15 10:58:37 +0000
committerbors <bors@rust-lang.org>2015-10-15 10:58:37 +0000
commit1ad1b7d947b389d71b5d150d2fe92a6311c21c28 (patch)
treeb9766c17986cbca41b77bf9ae5247e0f2dbbf5bb /src/libstd/sys/unix/stack_overflow.rs
parent9c9615eb6f59acc394e338d529f22273fe3a1cd7 (diff)
parentb40163beb925b176fdb570e4f4998ab9919e77a4 (diff)
downloadrust-1ad1b7d947b389d71b5d150d2fe92a6311c21c28.tar.gz
rust-1ad1b7d947b389d71b5d150d2fe92a6311c21c28.zip
Auto merge of #29021 - ogham:master, r=alexcrichton
This commit adds `#[derive(Clone)]` to `std::fs::Metadata`, making that struct cloneable. Although the exact contents of that struct differ between OSes, they all have it contain only value types, meaning that the data can be re-used without repercussions.

It also adds `#[derive(Clone)]` to every type used by that struct across all OSes, including the various Unix `stat` structs and Windows's `WIN32_FILE_ATTRIBUTE_DATA`.

This stems from my comment here: https://github.com/rust-lang/rfcs/issues/939#issuecomment-140524439
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions