We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08df8b8 commit 1a77d62Copy full SHA for 1a77d62
library/std/src/sys/itron/thread.rs
@@ -77,7 +77,8 @@ const LIFECYCLE_DETACHED_OR_JOINED: usize = usize::MAX;
77
const LIFECYCLE_EXITED_OR_FINISHED_OR_JOIN_FINALIZE: usize = usize::MAX;
78
// there's no single value for `JOINING`
79
80
-pub const DEFAULT_MIN_STACK_SIZE: usize = 1024 * crate::mem::size_of::<usize>();
+// 64KiB for 32-bit ISAs, 128KiB for 64-bit ISAs.
81
+pub const DEFAULT_MIN_STACK_SIZE: usize = 0x4000 * crate::mem::size_of::<usize>();
82
83
impl Thread {
84
/// # Safety
0 commit comments