diff options
| author | Nikita Baksalyar <nikita.baksalyar@gmail.com> | 2016-01-31 11:55:00 +0300 |
|---|---|---|
| committer | Nikita Baksalyar <nikita.baksalyar@gmail.com> | 2016-01-31 19:01:32 +0300 |
| commit | bb6e646c7b7c8c97982106aafc106b18a1913c81 (patch) | |
| tree | e8b7f5393d04bed2bf67f074c797c4af052d26c8 /src/libstd/sys | |
| parent | e5da5d59f817eb6a3b78134d49b80c3ed6cb42c9 (diff) | |
| download | rust-bb6e646c7b7c8c97982106aafc106b18a1913c81.tar.gz rust-bb6e646c7b7c8c97982106aafc106b18a1913c81.zip | |
Fix unresolved name in libstd/sys/unix/thread
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/thread.rs b/src/libstd/sys/unix/thread.rs index 04570f2f4aa..277aa5f19f0 100644 --- a/src/libstd/sys/unix/thread.rs +++ b/src/libstd/sys/unix/thread.rs @@ -258,7 +258,7 @@ pub mod guard { #[cfg(target_os = "solaris")] pub unsafe fn current() -> Option<usize> { - let mut current_stack: libc::stack_t = mem::zeroed(); + let mut current_stack: libc::stack_t = ::mem::zeroed(); assert_eq!(libc::stack_getbounds(&mut current_stack), 0); Some(current_stack.ss_sp as usize) } |
