diff options
| author | Kajetan Puchalski <kajetan.puchalski@arm.com> | 2025-01-23 21:25:26 -0500 |
|---|---|---|
| committer | Kajetan Puchalski <kajetan.puchalski@arm.com> | 2025-01-29 09:17:35 +0000 |
| commit | b7916fb4b762d406a560c5e5f6e632033edd9c14 (patch) | |
| tree | c7aa06e6d16354ede5fb3ad18843073cabe8a264 /tests/ui/consts/large_const_alloc.rs | |
| parent | ccc9ba5c30c675824e9ca62b960830ff4a1858ea (diff) | |
| download | rust-b7916fb4b762d406a560c5e5f6e632033edd9c14.tar.gz rust-b7916fb4b762d406a560c5e5f6e632033edd9c14.zip | |
tests: Skip const OOM tests on aarch64-unknown-linux-gnu
Skip const OOM tests on AArch64 Linux through explicit annotations instead of inside opt-dist. Intended to avoid confusion in cases like #135952. Prerequisite for https://github.com/rust-lang/rust/pull/135960.
Diffstat (limited to 'tests/ui/consts/large_const_alloc.rs')
| -rw-r--r-- | tests/ui/consts/large_const_alloc.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/consts/large_const_alloc.rs b/tests/ui/consts/large_const_alloc.rs index 61a22216ae5..14edc1bb696 100644 --- a/tests/ui/consts/large_const_alloc.rs +++ b/tests/ui/consts/large_const_alloc.rs @@ -1,5 +1,7 @@ //@ only-64bit // on 32bit and 16bit platforms it is plausible that the maximum allocation size will succeed +// FIXME (#135952) In some cases on AArch64 Linux the diagnostic does not trigger +//@ ignore-aarch64-unknown-linux-gnu const FOO: () = { // 128 TiB, unlikely anyone has that much RAM |
