about summary refs log tree commit diff
path: root/tests/ui/iterators/iter-sum-overflow-overflow-checks.rs
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2025-07-26 01:15:07 -0500
committerGitHub <noreply@github.com>2025-07-26 01:15:07 -0500
commita262dadc4022b86592ca9b62642413bcf3e9b117 (patch)
treee4631871038b1ad04ddfc3449db006380d56b977 /tests/ui/iterators/iter-sum-overflow-overflow-checks.rs
parente30017ba3e770f6c636ad51099f0ea6139b9d415 (diff)
parent2e49c52855c6a726d4f42705fe42d3c237f14b32 (diff)
downloadrust-a262dadc4022b86592ca9b62642413bcf3e9b117.tar.gz
rust-a262dadc4022b86592ca9b62642413bcf3e9b117.zip
Rollup merge of #144341 - CaiWeiran:const-vector_test, r=wesleywiser
Enable const-vector.rs test on RISC-V (riscv64)

This PR replaces [#144283](https://github.com/rust-lang/rust/pull/144283) to resolve merge conflicts.

This PR adds support for running the `tests/codegen/const-vector.rs` test on the RISC-V (riscv64) architecture.

Previously, this test would fail on RISC-V targets due to architecture-specific code generation issues. This patch modifies the test to ensure compatibility while preserving its intent.

The change has been tested locally using `./x test` on a riscv64 target, and the test now passes as expected.

### Notes:
- This change is scoped specifically to improve RISC-V compatibility.
- It does not affect behavior or test results on other architectures.
Diffstat (limited to 'tests/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions