diff --git a/tests/ui/std/channel-stack-overflow-issue-102246.rs b/tests/ui/std/channel-stack-overflow-issue-102246.rs index 52902fc563a..984ebdd553f 100644 --- a/tests/ui/std/channel-stack-overflow-issue-102246.rs +++ b/tests/ui/std/channel-stack-overflow-issue-102246.rs @@ -1,4 +1,5 @@ //@ run-pass +//@ needs-threads //@ compile-flags: -Copt-level=0 // The channel's `Block::new` was causing a stack overflow because it held 32 item slots, which is