From 6508e60c9139ac2ccf98f812709f324ec5c4f521 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Mon, 31 Aug 2026 09:23:23 +0000 Subject: [PATCH] Fix a compile error on the ESP-IDF target --- library/std/src/sys/thread/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sys/thread/unix.rs b/library/std/src/sys/thread/unix.rs index 1d87e2095f134..b7908dea2b5de 100644 --- a/library/std/src/sys/thread/unix.rs +++ b/library/std/src/sys/thread/unix.rs @@ -67,7 +67,7 @@ impl Thread { assert_eq!( libc::pthread_attr_setstacksize( attr.get(), - cmp::max(stack, min_stack_size(attr.as_ptr())) + cmp::max(stack, min_stack_size(attr.get())) ), 0 );