about summary refs log tree commit diff
path: root/tests/coverage/branch/while.rs
diff options
context:
space:
mode:
authorJeff Martin <martinjeffrey@google.com>2025-03-19 12:55:02 -0400
committerJeff Martin <martinjeffrey@google.com>2025-03-19 12:55:02 -0400
commitef815f3205eedec26c715463f51a6793e2fa651f (patch)
treeeed4e26e88a6d1eb629b9e0c6305b6d328481ac2 /tests/coverage/branch/while.rs
parenta7fc463dd8fbeca800d4b3efc501069502cffe64 (diff)
downloadrust-ef815f3205eedec26c715463f51a6793e2fa651f.tar.gz
rust-ef815f3205eedec26c715463f51a6793e2fa651f.zip
Specify a concrete stack size in channel tests
The channel-stack-overflow-issue-102246 regression test fails on
platforms with a small default stack size (e.g. Fuchsia, with a default
of 256KiB). Update the test to specify an exact stack size for both the
sender and receiver operations, to ensure it is platform agnostic.

Set the stack size to less than the total allocation size of the mpsc
channel, to continue to prove that the allocation is on the heap.
Diffstat (limited to 'tests/coverage/branch/while.rs')
0 files changed, 0 insertions, 0 deletions