mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 13:40:15 +03:00
ded0aaba6c
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