diff options
| author | Sergio Gasquez <sergio.gasquez@gmail.com> | 2025-02-25 16:07:05 +0100 |
|---|---|---|
| committer | Sergio Gasquez <sergio.gasquez@gmail.com> | 2025-02-25 16:07:05 +0100 |
| commit | 622b4fac824a8dc166fddb73ca521b2a4caa1bc8 (patch) | |
| tree | 3394898230e7dbfbac48d9116ffa8732afe076e4 /library/std/src | |
| parent | ad27045c31a9f37ad7d44ca2a403de52d1a896d3 (diff) | |
| download | rust-622b4fac824a8dc166fddb73ca521b2a4caa1bc8.tar.gz rust-622b4fac824a8dc166fddb73ca521b2a4caa1bc8.zip | |
fix: attr cast for espidf
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/pal/unix/thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/unix/thread.rs b/library/std/src/sys/pal/unix/thread.rs index 37d5e01790a..4c5757b890a 100644 --- a/library/std/src/sys/pal/unix/thread.rs +++ b/library/std/src/sys/pal/unix/thread.rs @@ -59,7 +59,7 @@ impl Thread { assert_eq!( libc::pthread_attr_setstacksize( attr.as_mut_ptr(), - cmp::max(stack, min_stack_size(&attr)) + cmp::max(stack, min_stack_size(attr.as_ptr())) ), 0 ); |
