Files
rust/tests/ui/explicit-tail-calls
Jonathan Brouwer ded0aaba6c Rollup merge of #156585 - InvalidPathException:llvm-error, r=folkertdev
explicit tail calls: ignore some tests on unsupported LLVM targets

Fixes https://github.com/rust-lang/rust/issues/148748

Add ignore derivatives to two tests that cause the most platforms to fail, there are two reasons:

All tests involving `musttail` should fail on these platforms due to poor support overall by LLVM, but since they have low usage and supposedly already have many tests failing we limit ignores to the two "worst" tests.

```
//@ ignore-aix
//@ ignore-csky
//@ ignore-mips
//@ ignore-mips64
//@ ignore-powerpc
//@ ignore-powerpc64
//@ ignore-thumb
```

aix/powerpc issue: https://github.com/llvm/llvm-project/issues/187119
thumb issue: https://github.com/llvm/llvm-project/issues/73167
mips has been fixed but it is in a different LLVM version than what is pinned by Rust: https://github.com/llvm/llvm-project/issues/57795

These were caused by argument/returns that do not fit in registers (e.g., indirect), they had a fix but were reverted due to lifetime issues:

```
//@ ignore-riscv64
//@ ignore-loongarch32
//@ ignore-loongarch64
```

RISC-V had a fix which got reverted: https://github.com/llvm/llvm-project/pull/191508
LoongArch fix also got reverted: https://github.com/llvm/llvm-project/pull/191525

Also add missing compiletest directive names for `ignore-csky`, `ignore-mips`, and `ignore-mips64`.

r? folkertdev
2026-05-17 15:52:40 +02:00
..
2025-08-14 17:28:50 +00:00
2024-11-29 04:44:41 +01:00
2025-11-02 20:12:26 +00:00
2025-08-03 21:21:39 +02:00
2025-01-24 18:33:00 +01:00