diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-09 14:08:10 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-11 11:30:38 -0800 |
| commit | 52edb2ecc9530264dc75babe477fd75c64feac04 (patch) | |
| tree | 7110ee1e9e8b123ffdd8be4dd1e9b6213b9cb08c /src/libstd/os.rs | |
| parent | b25e100173effba685d076cee16f8af150078617 (diff) | |
| download | rust-52edb2ecc9530264dc75babe477fd75c64feac04.tar.gz rust-52edb2ecc9530264dc75babe477fd75c64feac04.zip | |
Register new snapshots
Diffstat (limited to 'src/libstd/os.rs')
| -rw-r--r-- | src/libstd/os.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstd/os.rs b/src/libstd/os.rs index 6c91010f4cb..138296cca70 100644 --- a/src/libstd/os.rs +++ b/src/libstd/os.rs @@ -1182,15 +1182,13 @@ pub fn page_size() -> uint { /// /// The memory map is released (unmapped) when the destructor is run, so don't /// let it leave scope by accident if you want it to stick around. +#[allow(missing_copy_implementations)] pub struct MemoryMap { data: *mut u8, len: uint, kind: MemoryMapKind, } -#[cfg(not(stage0))] -impl Copy for MemoryMap {} - /// Type of memory map pub enum MemoryMapKind { /// Virtual memory map. Usually used to change the permissions of a given |
