Skip to content

Commit e16cfe7

Browse files
committed
samples: bench: Increase stack size for 64-bit targets
These are overflowing, so increase the stack size a bit. Signed-off-by: David Brown <[email protected]>
1 parent 1a2dce3 commit e16cfe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/bench/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const THREAD_STACK_SIZE: usize = 4 * 1024;
4545

4646
/// Stack size to use for the threads.
4747
#[cfg(target_pointer_width = "64")]
48-
const THREAD_STACK_SIZE: usize = 4096;
48+
const THREAD_STACK_SIZE: usize = 5120;
4949

5050
/// Stack size to use for the work queue.
5151
const WORK_STACK_SIZE: usize = 4096;

0 commit comments

Comments
 (0)