We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5da5d5 commit bb6e646Copy full SHA for bb6e646
src/libstd/sys/unix/thread.rs
@@ -258,7 +258,7 @@ pub mod guard {
258
259
#[cfg(target_os = "solaris")]
260
pub unsafe fn current() -> Option<usize> {
261
- let mut current_stack: libc::stack_t = mem::zeroed();
+ let mut current_stack: libc::stack_t = ::mem::zeroed();
262
assert_eq!(libc::stack_getbounds(&mut current_stack), 0);
263
Some(current_stack.ss_sp as usize)
264
}
0 commit comments