diff mbox series

[4/5] rust: remove passing tests from excluded and ignored list.

Message ID 20251210101803.1120711-4-Yash.Shinde@windriver.com
State Accepted, archived
Commit b8fd1345a961cb34f81db4e4ff304ad244ee9a10
Headers show
Series [1/5] rust: add missing zlib and zstd dependencies | expand

Commit Message

Yash Shinde Dec. 10, 2025, 10:18 a.m. UTC
From: Yash Shinde <Yash.Shinde@windriver.com>

Remove the ignore tags for passing riscv64 tests and
drop obsolete "tests/codegen-llvm/issues/issue-122805.rs"
from exclude test list.

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
---
 meta/lib/oeqa/selftest/cases/rust.py          |   1 -
 .../rust/files/rust-oe-selftest.patch         | 100 ------------------
 2 files changed, 101 deletions(-)

Comments

Randy MacLeod Dec. 10, 2025, 6:20 p.m. UTC | #1
On 2025-12-10 5:18 a.m., Yash.Shinde@windriver.com wrote:
> From: Yash Shinde<Yash.Shinde@windriver.com>
>
> Remove the ignore tags for passing riscv64 tests and
> drop obsolete "tests/codegen-llvm/issues/issue-122805.rs"
Can you add the upstream commit id/shortlog that removed the test?
The issue is still open it seems:
https://github.com/llvm/llvm-project/issues/122805

so you should explain that as well.


../Randy
> from exclude test list.
>
> Signed-off-by: Yash Shinde<Yash.Shinde@windriver.com>
> ---
>   meta/lib/oeqa/selftest/cases/rust.py          |   1 -
>   .../rust/files/rust-oe-selftest.patch         | 100 ------------------
>   2 files changed, 101 deletions(-)
>
> diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py
> index ebc9204420..3a41391101 100644
> --- a/meta/lib/oeqa/selftest/cases/rust.py
> +++ b/meta/lib/oeqa/selftest/cases/rust.py
> @@ -80,7 +80,6 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
>                               'src/tools/tidy',
>                               'tests/assembly-llvm/asm/aarch64-outline-atomics.rs',
>                               'tests/assembly-llvm/c-variadic-arm.rs',
> -                            'tests/codegen-llvm/issues/issue-122805.rs',
>                               'tests/codegen-llvm/thread-local.rs',
>                               'tests/mir-opt/',
>                               'tests/run-make',
> diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
> index 7d26d75820..b39b326455 100644
> --- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
> +++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
> @@ -202,106 +202,6 @@ index a05f274136..0e69b4cb98 100644
>    fn sparse_inserts() {
>        let cache: VecCache<u32, u8, u32> = VecCache::default();
>        let end = if cfg!(target_pointer_width = "64") && cfg!(target_os = "linux") {
> -diff --git a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
> -index 828328df843..30753c56c76 100644
> ---- a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
> -+++ b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
> -@@ -8,6 +8,7 @@
> - //@ compile-flags: -C lto -g -Cdwarf-version=5
> - //@ assembly-output: emit-asm
> - //@ no-prefer-dynamic
> -+//@ ignore-riscv64
> -
> - extern crate dwarf_mixed_versions_lto_aux;
> -
> -diff --git a/tests/codegen-llvm/const-vector.rs b/tests/codegen-llvm/const-vector.rs
> -index f4307492341..617e31140e9 100644
> ---- a/tests/codegen-llvm/const-vector.rs
> -+++ b/tests/codegen-llvm/const-vector.rs
> -@@ -3,6 +3,7 @@
> - //@ [OPT0_S390X] only-s390x
> - //@ [OPT0] compile-flags: -C no-prepopulate-passes -Copt-level=0
> - //@ [OPT0_S390X] compile-flags: -C no-prepopulate-passes -Copt-level=0 -C target-cpu=z13
> -+//@ ignore-riscv64
> -
> - // This test checks that constants of SIMD type are passed as immediate vectors.
> - // We ensure that both vector representations (struct with fields and struct wrapping array) work.
> -diff --git a/tests/codegen-llvm/enum/enum-aggregate.rs b/tests/codegen-llvm/enum/enum-aggregate.rs
> -index 0161e5f3fa1..773a06fabb4 100644
> ---- a/tests/codegen-llvm/enum/enum-aggregate.rs
> -+++ b/tests/codegen-llvm/enum/enum-aggregate.rs
> -@@ -1,6 +1,7 @@
> - //@ compile-flags: -Copt-level=0 -Cno-prepopulate-passes
> - //@ min-llvm-version: 19
> - //@ only-64bit
> -+//@ ignore-riscv64
> -
> - #![crate_type = "lib"]
> -
> -diff --git a/tests/codegen-llvm/enum/enum-match.rs b/tests/codegen-llvm/enum/enum-match.rs
> -index 57db44ec74e..1e2507f7c90 100644
> ---- a/tests/codegen-llvm/enum/enum-match.rs
> -+++ b/tests/codegen-llvm/enum/enum-match.rs
> -@@ -1,5 +1,6 @@
> - //@ compile-flags: -Copt-level=1
> - //@ only-64bit
> -+//@ ignore-riscv64
> -
> - #![crate_type = "lib"]
> - #![feature(core_intrinsics)]
> -diff --git a/tests/codegen-llvm/enum/enum-transparent-extract.rs b/tests/codegen-llvm/enum/enum-transparent-extract.rs
> -index c5efb8d472b..e79b8916fc1 100644
> ---- a/tests/codegen-llvm/enum/enum-transparent-extract.rs
> -+++ b/tests/codegen-llvm/enum/enum-transparent-extract.rs
> -@@ -1,5 +1,6 @@
> - //@ compile-flags: -Copt-level=0
> - //@ only-64bit
> -+//@ ignore-riscv64
> -
> - #![crate_type = "lib"]
> -
> -diff --git a/tests/codegen-llvm/repeat-operand-zero-len.rs b/tests/codegen-llvm/repeat-operand-zero-len.rs
> -index b4cec42a07c..d450fead9a4 100644
> ---- a/tests/codegen-llvm/repeat-operand-zero-len.rs
> -+++ b/tests/codegen-llvm/repeat-operand-zero-len.rs
> -@@ -1,4 +1,5 @@
> - //@ compile-flags: -Copt-level=1 -Cno-prepopulate-passes
> -+//@ ignore-riscv64
> -
> - // This test is here to hit the `Rvalue::Repeat` case in `codegen_rvalue_operand`.
> - // It only applies when the resulting array is a ZST, so the test is written in
> -diff --git a/tests/codegen-llvm/simd/extract-insert-dyn.rs b/tests/codegen-llvm/simd/extract-insert-dyn.rs
> -index 729f0145314..2b1d1beb86a 100644
> ---- a/tests/codegen-llvm/simd/extract-insert-dyn.rs
> -+++ b/tests/codegen-llvm/simd/extract-insert-dyn.rs
> -@@ -1,4 +1,5 @@
> - //@compile-flags: -C opt-level=3 -C no-prepopulate-passes
> -+//@ ignore-riscv64
> -
> - #![feature(
> -     core_intrinsics,
> -diff --git a/tests/codegen-llvm/transmute-scalar.rs b/tests/codegen-llvm/transmute-scalar.rs
> -index ce1b0558b2e..e8fda2cd566 100644
> ---- a/tests/codegen-llvm/transmute-scalar.rs
> -+++ b/tests/codegen-llvm/transmute-scalar.rs
> -@@ -1,6 +1,7 @@
> - //@ add-core-stubs
> - //@ compile-flags: -C opt-level=0 -C no-prepopulate-passes --target=x86_64-unknown-linux-gnu
> - //@ needs-llvm-components: x86
> -+//@ ignore-riscv64
> -
> - #![crate_type = "lib"]
> - #![feature(no_core, repr_simd)]
> -diff --git a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
> -index face1577c3f..09e0846bad0 100644
> ---- a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
> -+++ b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
> -@@ -1,4 +1,5 @@
> - //@ compile-flags: -Copt-level=3
> -+//@ ignore-riscv64
> -
> - // Seehttps://github.com/rust-lang/rust/issues/135802
> -
>   diff --git a/tests/ui/abi/rust-cold-works-with-rustic-args.rs b/tests/ui/abi/rust-cold-works-with-rustic-args.rs
>   index 551485469d3..575db924968 100644
>   --- a/tests/ui/abi/rust-cold-works-with-rustic-args.rs
Yash Shinde Dec. 11, 2025, 8:10 a.m. UTC | #2
On 10-12-2025 23:50, Randy MacLeod wrote:
> On 2025-12-10 5:18 a.m., Yash.Shinde@windriver.com wrote:
>> From: Yash Shinde<Yash.Shinde@windriver.com>
>>
>> Remove the ignore tags for passing riscv64 tests and
>> drop obsolete "tests/codegen-llvm/issues/issue-122805.rs"
> Can you add the upstream commit id/shortlog that removed the test?
> The issue is still open it seems:
> https://github.com/llvm/llvm-project/issues/122805
>
> so you should explain that as well.
>
Actually, the issue is:
https://github.com/rust-lang/rust/issues/122805
https://github.com/rust-lang/rust/issues/122805#issuecomment-2012121917


and the test-case was renamed to "dont-shuffle-bswaps.rs" which passes now:
https://github.com/rust-lang/rust/commit/3580698996f6da6f006477809d7959bffcfd3bf0

>
> ../Randy
>> from exclude test list.
>>
>> Signed-off-by: Yash Shinde<Yash.Shinde@windriver.com>
>> ---
>>   meta/lib/oeqa/selftest/cases/rust.py          |   1 -
>>   .../rust/files/rust-oe-selftest.patch         | 100 ------------------
>>   2 files changed, 101 deletions(-)
>>
>> diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py
>> index ebc9204420..3a41391101 100644
>> --- a/meta/lib/oeqa/selftest/cases/rust.py
>> +++ b/meta/lib/oeqa/selftest/cases/rust.py
>> @@ -80,7 +80,6 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
>>                               'src/tools/tidy',
>>                               'tests/assembly-llvm/asm/aarch64-outline-atomics.rs',
>>                               'tests/assembly-llvm/c-variadic-arm.rs',
>> -                            'tests/codegen-llvm/issues/issue-122805.rs',
>>                               'tests/codegen-llvm/thread-local.rs',
>>                               'tests/mir-opt/',
>>                               'tests/run-make',
>> diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
>> index 7d26d75820..b39b326455 100644
>> --- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
>> +++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
>> @@ -202,106 +202,6 @@ index a05f274136..0e69b4cb98 100644
>>    fn sparse_inserts() {
>>        let cache: VecCache<u32, u8, u32> = VecCache::default();
>>        let end = if cfg!(target_pointer_width = "64") && cfg!(target_os = "linux") {
>> -diff --git a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
>> -index 828328df843..30753c56c76 100644
>> ---- a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
>> -+++ b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
>> -@@ -8,6 +8,7 @@
>> - //@ compile-flags: -C lto -g -Cdwarf-version=5
>> - //@ assembly-output: emit-asm
>> - //@ no-prefer-dynamic
>> -+//@ ignore-riscv64
>> -
>> - extern crate dwarf_mixed_versions_lto_aux;
>> -
>> -diff --git a/tests/codegen-llvm/const-vector.rs b/tests/codegen-llvm/const-vector.rs
>> -index f4307492341..617e31140e9 100644
>> ---- a/tests/codegen-llvm/const-vector.rs
>> -+++ b/tests/codegen-llvm/const-vector.rs
>> -@@ -3,6 +3,7 @@
>> - //@ [OPT0_S390X] only-s390x
>> - //@ [OPT0] compile-flags: -C no-prepopulate-passes -Copt-level=0
>> - //@ [OPT0_S390X] compile-flags: -C no-prepopulate-passes -Copt-level=0 -C target-cpu=z13
>> -+//@ ignore-riscv64
>> -
>> - // This test checks that constants of SIMD type are passed as immediate vectors.
>> - // We ensure that both vector representations (struct with fields and struct wrapping array) work.
>> -diff --git a/tests/codegen-llvm/enum/enum-aggregate.rs b/tests/codegen-llvm/enum/enum-aggregate.rs
>> -index 0161e5f3fa1..773a06fabb4 100644
>> ---- a/tests/codegen-llvm/enum/enum-aggregate.rs
>> -+++ b/tests/codegen-llvm/enum/enum-aggregate.rs
>> -@@ -1,6 +1,7 @@
>> - //@ compile-flags: -Copt-level=0 -Cno-prepopulate-passes
>> - //@ min-llvm-version: 19
>> - //@ only-64bit
>> -+//@ ignore-riscv64
>> -
>> - #![crate_type = "lib"]
>> -
>> -diff --git a/tests/codegen-llvm/enum/enum-match.rs b/tests/codegen-llvm/enum/enum-match.rs
>> -index 57db44ec74e..1e2507f7c90 100644
>> ---- a/tests/codegen-llvm/enum/enum-match.rs
>> -+++ b/tests/codegen-llvm/enum/enum-match.rs
>> -@@ -1,5 +1,6 @@
>> - //@ compile-flags: -Copt-level=1
>> - //@ only-64bit
>> -+//@ ignore-riscv64
>> -
>> - #![crate_type = "lib"]
>> - #![feature(core_intrinsics)]
>> -diff --git a/tests/codegen-llvm/enum/enum-transparent-extract.rs b/tests/codegen-llvm/enum/enum-transparent-extract.rs
>> -index c5efb8d472b..e79b8916fc1 100644
>> ---- a/tests/codegen-llvm/enum/enum-transparent-extract.rs
>> -+++ b/tests/codegen-llvm/enum/enum-transparent-extract.rs
>> -@@ -1,5 +1,6 @@
>> - //@ compile-flags: -Copt-level=0
>> - //@ only-64bit
>> -+//@ ignore-riscv64
>> -
>> - #![crate_type = "lib"]
>> -
>> -diff --git a/tests/codegen-llvm/repeat-operand-zero-len.rs b/tests/codegen-llvm/repeat-operand-zero-len.rs
>> -index b4cec42a07c..d450fead9a4 100644
>> ---- a/tests/codegen-llvm/repeat-operand-zero-len.rs
>> -+++ b/tests/codegen-llvm/repeat-operand-zero-len.rs
>> -@@ -1,4 +1,5 @@
>> - //@ compile-flags: -Copt-level=1 -Cno-prepopulate-passes
>> -+//@ ignore-riscv64
>> -
>> - // This test is here to hit the `Rvalue::Repeat` case in `codegen_rvalue_operand`.
>> - // It only applies when the resulting array is a ZST, so the test is written in
>> -diff --git a/tests/codegen-llvm/simd/extract-insert-dyn.rs b/tests/codegen-llvm/simd/extract-insert-dyn.rs
>> -index 729f0145314..2b1d1beb86a 100644
>> ---- a/tests/codegen-llvm/simd/extract-insert-dyn.rs
>> -+++ b/tests/codegen-llvm/simd/extract-insert-dyn.rs
>> -@@ -1,4 +1,5 @@
>> - //@compile-flags: -C opt-level=3 -C no-prepopulate-passes
>> -+//@ ignore-riscv64
>> -
>> - #![feature(
>> -     core_intrinsics,
>> -diff --git a/tests/codegen-llvm/transmute-scalar.rs b/tests/codegen-llvm/transmute-scalar.rs
>> -index ce1b0558b2e..e8fda2cd566 100644
>> ---- a/tests/codegen-llvm/transmute-scalar.rs
>> -+++ b/tests/codegen-llvm/transmute-scalar.rs
>> -@@ -1,6 +1,7 @@
>> - //@ add-core-stubs
>> - //@ compile-flags: -C opt-level=0 -C no-prepopulate-passes --target=x86_64-unknown-linux-gnu
>> - //@ needs-llvm-components: x86
>> -+//@ ignore-riscv64
>> -
>> - #![crate_type = "lib"]
>> - #![feature(no_core, repr_simd)]
>> -diff --git a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
>> -index face1577c3f..09e0846bad0 100644
>> ---- a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
>> -+++ b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
>> -@@ -1,4 +1,5 @@
>> - //@ compile-flags: -Copt-level=3
>> -+//@ ignore-riscv64
>> -
>> - // Seehttps://github.com/rust-lang/rust/issues/135802
>> -
>>   diff --git a/tests/ui/abi/rust-cold-works-with-rustic-args.rs b/tests/ui/abi/rust-cold-works-with-rustic-args.rs
>>   index 551485469d3..575db924968 100644
>>   --- a/tests/ui/abi/rust-cold-works-with-rustic-args.rs
>
>
> -- 
> # Randy MacLeod
> # Wind River Linux
Randy MacLeod Dec. 11, 2025, 12:57 p.m. UTC | #3
On 2025-12-11 3:10 a.m., Yash Shinde wrote:
>
> On 10-12-2025 23:50, Randy MacLeod wrote:
>> On 2025-12-10 5:18 a.m., Yash.Shinde@windriver.com wrote:
>>> From: Yash Shinde<Yash.Shinde@windriver.com>
>>>
>>> Remove the ignore tags for passing riscv64 tests and
>>> drop obsolete "tests/codegen-llvm/issues/issue-122805.rs"
>> Can you add the upstream commit id/shortlog that removed the test?
>> The issue is still open it seems:
>> https://github.com/llvm/llvm-project/issues/122805
>>
>> so you should explain that as well.
>>
> Actually, the issue is:
> https://github.com/rust-lang/rust/issues/122805
> https://github.com/rust-lang/rust/issues/122805#issuecomment-2012121917
>
>
> and the test-case was renamed to "dont-shuffle-bswaps.rs" which passes 
> now:
> https://github.com/rust-lang/rust/commit/3580698996f6da6f006477809d7959bffcfd3bf0 
>


Ah, wrong project.
Please include this info in your v2 commit log.

Thanks,

../Randy

>
>>
>> ../Randy
>>> from exclude test list.
>>>
>>> Signed-off-by: Yash Shinde<Yash.Shinde@windriver.com>
>>> ---
>>>   meta/lib/oeqa/selftest/cases/rust.py          |   1 -
>>>   .../rust/files/rust-oe-selftest.patch         | 100 
>>> ------------------
>>>   2 files changed, 101 deletions(-)
>>>
>>> diff --git a/meta/lib/oeqa/selftest/cases/rust.py 
>>> b/meta/lib/oeqa/selftest/cases/rust.py
>>> index ebc9204420..3a41391101 100644
>>> --- a/meta/lib/oeqa/selftest/cases/rust.py
>>> +++ b/meta/lib/oeqa/selftest/cases/rust.py
>>> @@ -80,7 +80,6 @@ class 
>>> RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
>>>                               'src/tools/tidy',
>>> 'tests/assembly-llvm/asm/aarch64-outline-atomics.rs',
>>> 'tests/assembly-llvm/c-variadic-arm.rs',
>>> - 'tests/codegen-llvm/issues/issue-122805.rs',
>>> 'tests/codegen-llvm/thread-local.rs',
>>>                               'tests/mir-opt/',
>>>                               'tests/run-make',
>>> diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch 
>>> b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
>>> index 7d26d75820..b39b326455 100644
>>> --- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
>>> +++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
>>> @@ -202,106 +202,6 @@ index a05f274136..0e69b4cb98 100644
>>>    fn sparse_inserts() {
>>>        let cache: VecCache<u32, u8, u32> = VecCache::default();
>>>        let end = if cfg!(target_pointer_width = "64") && 
>>> cfg!(target_os = "linux") {
>>> -diff --git a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs 
>>> b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
>>> -index 828328df843..30753c56c76 100644
>>> ---- a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
>>> -+++ b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
>>> -@@ -8,6 +8,7 @@
>>> - //@ compile-flags: -C lto -g -Cdwarf-version=5
>>> - //@ assembly-output: emit-asm
>>> - //@ no-prefer-dynamic
>>> -+//@ ignore-riscv64
>>> -
>>> - extern crate dwarf_mixed_versions_lto_aux;
>>> -
>>> -diff --git a/tests/codegen-llvm/const-vector.rs 
>>> b/tests/codegen-llvm/const-vector.rs
>>> -index f4307492341..617e31140e9 100644
>>> ---- a/tests/codegen-llvm/const-vector.rs
>>> -+++ b/tests/codegen-llvm/const-vector.rs
>>> -@@ -3,6 +3,7 @@
>>> - //@ [OPT0_S390X] only-s390x
>>> - //@ [OPT0] compile-flags: -C no-prepopulate-passes -Copt-level=0
>>> - //@ [OPT0_S390X] compile-flags: -C no-prepopulate-passes 
>>> -Copt-level=0 -C target-cpu=z13
>>> -+//@ ignore-riscv64
>>> -
>>> - // This test checks that constants of SIMD type are passed as 
>>> immediate vectors.
>>> - // We ensure that both vector representations (struct with fields 
>>> and struct wrapping array) work.
>>> -diff --git a/tests/codegen-llvm/enum/enum-aggregate.rs 
>>> b/tests/codegen-llvm/enum/enum-aggregate.rs
>>> -index 0161e5f3fa1..773a06fabb4 100644
>>> ---- a/tests/codegen-llvm/enum/enum-aggregate.rs
>>> -+++ b/tests/codegen-llvm/enum/enum-aggregate.rs
>>> -@@ -1,6 +1,7 @@
>>> - //@ compile-flags: -Copt-level=0 -Cno-prepopulate-passes
>>> - //@ min-llvm-version: 19
>>> - //@ only-64bit
>>> -+//@ ignore-riscv64
>>> -
>>> - #![crate_type = "lib"]
>>> -
>>> -diff --git a/tests/codegen-llvm/enum/enum-match.rs 
>>> b/tests/codegen-llvm/enum/enum-match.rs
>>> -index 57db44ec74e..1e2507f7c90 100644
>>> ---- a/tests/codegen-llvm/enum/enum-match.rs
>>> -+++ b/tests/codegen-llvm/enum/enum-match.rs
>>> -@@ -1,5 +1,6 @@
>>> - //@ compile-flags: -Copt-level=1
>>> - //@ only-64bit
>>> -+//@ ignore-riscv64
>>> -
>>> - #![crate_type = "lib"]
>>> - #![feature(core_intrinsics)]
>>> -diff --git a/tests/codegen-llvm/enum/enum-transparent-extract.rs 
>>> b/tests/codegen-llvm/enum/enum-transparent-extract.rs
>>> -index c5efb8d472b..e79b8916fc1 100644
>>> ---- a/tests/codegen-llvm/enum/enum-transparent-extract.rs
>>> -+++ b/tests/codegen-llvm/enum/enum-transparent-extract.rs
>>> -@@ -1,5 +1,6 @@
>>> - //@ compile-flags: -Copt-level=0
>>> - //@ only-64bit
>>> -+//@ ignore-riscv64
>>> -
>>> - #![crate_type = "lib"]
>>> -
>>> -diff --git a/tests/codegen-llvm/repeat-operand-zero-len.rs 
>>> b/tests/codegen-llvm/repeat-operand-zero-len.rs
>>> -index b4cec42a07c..d450fead9a4 100644
>>> ---- a/tests/codegen-llvm/repeat-operand-zero-len.rs
>>> -+++ b/tests/codegen-llvm/repeat-operand-zero-len.rs
>>> -@@ -1,4 +1,5 @@
>>> - //@ compile-flags: -Copt-level=1 -Cno-prepopulate-passes
>>> -+//@ ignore-riscv64
>>> -
>>> - // This test is here to hit the `Rvalue::Repeat` case in 
>>> `codegen_rvalue_operand`.
>>> - // It only applies when the resulting array is a ZST, so the test 
>>> is written in
>>> -diff --git a/tests/codegen-llvm/simd/extract-insert-dyn.rs 
>>> b/tests/codegen-llvm/simd/extract-insert-dyn.rs
>>> -index 729f0145314..2b1d1beb86a 100644
>>> ---- a/tests/codegen-llvm/simd/extract-insert-dyn.rs
>>> -+++ b/tests/codegen-llvm/simd/extract-insert-dyn.rs
>>> -@@ -1,4 +1,5 @@
>>> - //@compile-flags: -C opt-level=3 -C no-prepopulate-passes
>>> -+//@ ignore-riscv64
>>> -
>>> - #![feature(
>>> -     core_intrinsics,
>>> -diff --git a/tests/codegen-llvm/transmute-scalar.rs 
>>> b/tests/codegen-llvm/transmute-scalar.rs
>>> -index ce1b0558b2e..e8fda2cd566 100644
>>> ---- a/tests/codegen-llvm/transmute-scalar.rs
>>> -+++ b/tests/codegen-llvm/transmute-scalar.rs
>>> -@@ -1,6 +1,7 @@
>>> - //@ add-core-stubs
>>> - //@ compile-flags: -C opt-level=0 -C no-prepopulate-passes 
>>> --target=x86_64-unknown-linux-gnu
>>> - //@ needs-llvm-components: x86
>>> -+//@ ignore-riscv64
>>> -
>>> - #![crate_type = "lib"]
>>> - #![feature(no_core, repr_simd)]
>>> -diff --git 
>>> a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs 
>>> b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
>>> -index face1577c3f..09e0846bad0 100644
>>> ---- a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
>>> -+++ b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
>>> -@@ -1,4 +1,5 @@
>>> - //@ compile-flags: -Copt-level=3
>>> -+//@ ignore-riscv64
>>> -
>>> - // Seehttps://github.com/rust-lang/rust/issues/135802
>>> -
>>>   diff --git a/tests/ui/abi/rust-cold-works-with-rustic-args.rs 
>>> b/tests/ui/abi/rust-cold-works-with-rustic-args.rs
>>>   index 551485469d3..575db924968 100644
>>>   --- a/tests/ui/abi/rust-cold-works-with-rustic-args.rs
>>
>>
>> -- 
>> # Randy MacLeod
>> # Wind River Linux
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py
index ebc9204420..3a41391101 100644
--- a/meta/lib/oeqa/selftest/cases/rust.py
+++ b/meta/lib/oeqa/selftest/cases/rust.py
@@ -80,7 +80,6 @@  class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
                             'src/tools/tidy',
                             'tests/assembly-llvm/asm/aarch64-outline-atomics.rs',
                             'tests/assembly-llvm/c-variadic-arm.rs',
-                            'tests/codegen-llvm/issues/issue-122805.rs',
                             'tests/codegen-llvm/thread-local.rs',
                             'tests/mir-opt/',
                             'tests/run-make',
diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
index 7d26d75820..b39b326455 100644
--- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
+++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
@@ -202,106 +202,6 @@  index a05f274136..0e69b4cb98 100644
  fn sparse_inserts() {
      let cache: VecCache<u32, u8, u32> = VecCache::default();
      let end = if cfg!(target_pointer_width = "64") && cfg!(target_os = "linux") {
-diff --git a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
-index 828328df843..30753c56c76 100644
---- a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
-+++ b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
-@@ -8,6 +8,7 @@
- //@ compile-flags: -C lto -g -Cdwarf-version=5
- //@ assembly-output: emit-asm
- //@ no-prefer-dynamic
-+//@ ignore-riscv64
- 
- extern crate dwarf_mixed_versions_lto_aux;
- 
-diff --git a/tests/codegen-llvm/const-vector.rs b/tests/codegen-llvm/const-vector.rs
-index f4307492341..617e31140e9 100644
---- a/tests/codegen-llvm/const-vector.rs
-+++ b/tests/codegen-llvm/const-vector.rs
-@@ -3,6 +3,7 @@
- //@ [OPT0_S390X] only-s390x
- //@ [OPT0] compile-flags: -C no-prepopulate-passes -Copt-level=0
- //@ [OPT0_S390X] compile-flags: -C no-prepopulate-passes -Copt-level=0 -C target-cpu=z13
-+//@ ignore-riscv64
- 
- // This test checks that constants of SIMD type are passed as immediate vectors.
- // We ensure that both vector representations (struct with fields and struct wrapping array) work.
-diff --git a/tests/codegen-llvm/enum/enum-aggregate.rs b/tests/codegen-llvm/enum/enum-aggregate.rs
-index 0161e5f3fa1..773a06fabb4 100644
---- a/tests/codegen-llvm/enum/enum-aggregate.rs
-+++ b/tests/codegen-llvm/enum/enum-aggregate.rs
-@@ -1,6 +1,7 @@
- //@ compile-flags: -Copt-level=0 -Cno-prepopulate-passes
- //@ min-llvm-version: 19
- //@ only-64bit
-+//@ ignore-riscv64
- 
- #![crate_type = "lib"]
- 
-diff --git a/tests/codegen-llvm/enum/enum-match.rs b/tests/codegen-llvm/enum/enum-match.rs
-index 57db44ec74e..1e2507f7c90 100644
---- a/tests/codegen-llvm/enum/enum-match.rs
-+++ b/tests/codegen-llvm/enum/enum-match.rs
-@@ -1,5 +1,6 @@
- //@ compile-flags: -Copt-level=1
- //@ only-64bit
-+//@ ignore-riscv64
- 
- #![crate_type = "lib"]
- #![feature(core_intrinsics)]
-diff --git a/tests/codegen-llvm/enum/enum-transparent-extract.rs b/tests/codegen-llvm/enum/enum-transparent-extract.rs
-index c5efb8d472b..e79b8916fc1 100644
---- a/tests/codegen-llvm/enum/enum-transparent-extract.rs
-+++ b/tests/codegen-llvm/enum/enum-transparent-extract.rs
-@@ -1,5 +1,6 @@
- //@ compile-flags: -Copt-level=0
- //@ only-64bit
-+//@ ignore-riscv64
- 
- #![crate_type = "lib"]
- 
-diff --git a/tests/codegen-llvm/repeat-operand-zero-len.rs b/tests/codegen-llvm/repeat-operand-zero-len.rs
-index b4cec42a07c..d450fead9a4 100644
---- a/tests/codegen-llvm/repeat-operand-zero-len.rs
-+++ b/tests/codegen-llvm/repeat-operand-zero-len.rs
-@@ -1,4 +1,5 @@
- //@ compile-flags: -Copt-level=1 -Cno-prepopulate-passes
-+//@ ignore-riscv64
- 
- // This test is here to hit the `Rvalue::Repeat` case in `codegen_rvalue_operand`.
- // It only applies when the resulting array is a ZST, so the test is written in
-diff --git a/tests/codegen-llvm/simd/extract-insert-dyn.rs b/tests/codegen-llvm/simd/extract-insert-dyn.rs
-index 729f0145314..2b1d1beb86a 100644
---- a/tests/codegen-llvm/simd/extract-insert-dyn.rs
-+++ b/tests/codegen-llvm/simd/extract-insert-dyn.rs
-@@ -1,4 +1,5 @@
- //@compile-flags: -C opt-level=3 -C no-prepopulate-passes
-+//@ ignore-riscv64
- 
- #![feature(
-     core_intrinsics,
-diff --git a/tests/codegen-llvm/transmute-scalar.rs b/tests/codegen-llvm/transmute-scalar.rs
-index ce1b0558b2e..e8fda2cd566 100644
---- a/tests/codegen-llvm/transmute-scalar.rs
-+++ b/tests/codegen-llvm/transmute-scalar.rs
-@@ -1,6 +1,7 @@
- //@ add-core-stubs
- //@ compile-flags: -C opt-level=0 -C no-prepopulate-passes --target=x86_64-unknown-linux-gnu
- //@ needs-llvm-components: x86
-+//@ ignore-riscv64
- 
- #![crate_type = "lib"]
- #![feature(no_core, repr_simd)]
-diff --git a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
-index face1577c3f..09e0846bad0 100644
---- a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
-+++ b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
-@@ -1,4 +1,5 @@
- //@ compile-flags: -Copt-level=3
-+//@ ignore-riscv64
- 
- // See https://github.com/rust-lang/rust/issues/135802
- 
 diff --git a/tests/ui/abi/rust-cold-works-with-rustic-args.rs b/tests/ui/abi/rust-cold-works-with-rustic-args.rs
 index 551485469d3..575db924968 100644
 --- a/tests/ui/abi/rust-cold-works-with-rustic-args.rs