We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b6b61e commit 347f76eCopy full SHA for 347f76e
std/src/sys/pal/unix/thread.rs
@@ -59,7 +59,7 @@ impl Thread {
59
assert_eq!(
60
libc::pthread_attr_setstacksize(
61
attr.as_mut_ptr(),
62
- cmp::max(stack, min_stack_size(&attr))
+ cmp::max(stack, min_stack_size(attr.as_ptr()))
63
),
64
0
65
);
0 commit comments