about summary refs log tree commit diff
path: root/tests/coverage/branch/while.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-03-27 21:41:48 -0400
committerGitHub <noreply@github.com>2025-03-27 21:41:48 -0400
commit3e274bd1a537b17da4a0eb553d16649886200914 (patch)
treee00613975df3c2ae35dc03ab0704727d962cf3fa /tests/coverage/branch/while.rs
parent7586a9f99ad75287f9eef56c32c8508345ce0a73 (diff)
parentef815f3205eedec26c715463f51a6793e2fa651f (diff)
downloadrust-3e274bd1a537b17da4a0eb553d16649886200914.tar.gz
rust-3e274bd1a537b17da4a0eb553d16649886200914.zip
Rollup merge of #138720 - Jeff-A-Martin:channel-stack-overflow-test-fuchsia, r=wesleywiser
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