about summary refs log tree commit diff
path: root/tests/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-12 19:00:42 +0100
committerGitHub <noreply@github.com>2024-12-12 19:00:42 +0100
commit6475fde16b3071dac1c60a18328dd75284c579f2 (patch)
tree8f16099ef207937954c42e9076ff665092ea4b6c /tests/rustdoc-ui/coverage/enum-tuple.rs
parent2e8807d87ce326ab971264d98489f4c42f5ba560 (diff)
parent78f3946ffd44aff5c57baf4192d9adbd70c3f576 (diff)
downloadrust-6475fde16b3071dac1c60a18328dd75284c579f2.tar.gz
rust-6475fde16b3071dac1c60a18328dd75284c579f2.zip
Rollup merge of #133249 - heiher:loong-abi-check, r=workingjubilee
ABI checks: add support for loongarch

LoongArch psABI[^1] specifies that LSX vector types are passed via general-purpose registers, while LASX vector types are passed indirectly through the stack.

This patch addresses the following warnings:

```
warning: this function call uses a SIMD vector type that is not currently supported with the chosen ABI
    --> .../library/core/src/../../stdarch/crates/core_arch/src/loongarch64/lsx/generated.rs:3695:5
     |
3695 |     __lsx_vreplgr2vr_b(a)
     |     ^^^^^^^^^^^^^^^^^^^^^ function called here
     |
     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
     = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
     = note: `#[warn(abi_unsupported_vector_types)]` on by default
```

[^1]: https://github.com/loongson/la-abi-specs/blob/release/lapcs.adoc

r? `@workingjubilee`
Diffstat (limited to 'tests/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions