Skip to content

Commit 66bb586

Browse files
committed
Auto merge of rust-lang#134608 - DianQK:disable-93775, r=jieyouxu
Add `ignore-rustc-debug-assertions` to `tests/ui/associated-consts/issue-93775.rs` Closes rust-lang#132111. Closes rust-lang#133432. I think this test case is flaky because the recursive calls happen to hit the upper limit of the call stack. IMO, this may not be an issue, as it's reasonable for overly complex code to require additional build configurations (such as increasing the call stack size). After set `rust.debug-assertions` is true, the test case requires a larger call stack, so disable it on `rust.debug-assertions=true`. r? jieyouxu try-job: x86_64-msvc try-job: i686-msvc
2 parents 0eca4dd + 4dca485 commit 66bb586

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ui/associated-consts/issue-93775.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//@ ignore-windows-msvc
2-
// FIXME(#132111, #133432): this test is flaky on windows msvc, it sometimes fail but it sometimes
3-
// passes.
1+
//@ ignore-rustc-debug-assertions
2+
// Similar to stress testing, the test case requires a larger call stack,
3+
// so we ignore rustc's debug assertions.
44

55
//@ build-pass
66
// ignore-tidy-linelength

0 commit comments

Comments
 (0)