diff options
author | Alex Crichton <alex@alexcrichton.com> | 2014-12-16 08:29:34 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-16 08:29:34 -0800 |
commit | f9f81a83b8bb95905a01a48d984c99b504f518ef (patch) | |
tree | 61219a98f0f41dd9e345f16841f61aa6fe6dd7df /libssh2-sys/lib.rs | |
parent | 43996526768a6cfce9c2c3111210054f0c75f406 (diff) | |
download | ssh2-rs-f9f81a83b8bb95905a01a48d984c99b504f518ef.zip |
Update to rust master
Diffstat (limited to 'libssh2-sys/lib.rs')
-rw-r--r-- | libssh2-sys/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh2-sys/lib.rs b/libssh2-sys/lib.rs index 4cb0e72..27ee983 100644 --- a/libssh2-sys/lib.rs +++ b/libssh2-sys/lib.rs @@ -1,5 +1,6 @@ #![feature(phase)] #![allow(bad_style)] +#![allow(missing_copy_implementations)] extern crate libc; @@ -169,6 +170,7 @@ pub struct libssh2_knownhost { } #[repr(C)] +#[deriving(Copy)] pub struct LIBSSH2_SFTP_ATTRIBUTES { pub flags: c_ulong, pub filesize: u64, @@ -180,6 +182,7 @@ pub struct LIBSSH2_SFTP_ATTRIBUTES { } #[repr(C)] +#[deriving(Copy)] pub struct LIBSSH2_SFTP_STATVFS { pub f_bsize: u64, pub f_frsize: u64, |