summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
diff options
context:
space:
mode:
authorDeepesh Varatharajan <Deepesh.Varatharajan@windriver.com>2025-03-27 02:06:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-27 13:41:58 +0000
commit01dbb30d39cf1e7ad534b22ccf81ef018e18f621 (patch)
tree8a3745044987d8e2776a390865611406c72c7bee /meta/recipes-devtools/rust/files/rust-oe-selftest.patch
parent28a077b4aa20760ba0354c04af78017df0bd4d68 (diff)
downloadpoky-01dbb30d39cf1e7ad534b22ccf81ef018e18f621.tar.gz
rust: Oe-selftest changes for rust v1.84.1
Ignore the failing unit test. The tidy check failed due to a typo, which was already reported and fixed in the Rust upstream. Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/8e7734978245522cbbd14e53e08e888faf031ded] (From OE-Core rev: 94a244a14075ead1b3b5e966c0fe713cd448cad8) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/files/rust-oe-selftest.patch')
-rw-r--r--meta/recipes-devtools/rust/files/rust-oe-selftest.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
index dd22ced57d..7e5854a62a 100644
--- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
+++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch
@@ -469,3 +469,15 @@ index 14e6013f96..b670f27ab4 100644
469 #[cfg_attr(miri, ignore)] 469 #[cfg_attr(miri, ignore)]
470 fn $test_fn_name() { 470 fn $test_fn_name() {
471 $crate::sort::tests::$test_fn_name::<$sort_impl>(); 471 $crate::sort::tests::$test_fn_name::<$sort_impl>();
472diff --git a/compiler/rustc_data_structures/src/vec_cache/tests.rs b/compiler/rustc_data_structures/src/vec_cache/tests.rs
473index a05f274136..0e69b4cb98 100644
474--- a/compiler/rustc_data_structures/src/vec_cache/tests.rs
475+++ b/compiler/rustc_data_structures/src/vec_cache/tests.rs
476@@ -17,6 +17,7 @@ fn vec_cache_insert_and_check() {
477 }
478
479 #[test]
480+#[ignore]
481 fn sparse_inserts() {
482 let cache: VecCache<u32, u8, u32> = VecCache::default();
483 let end = if cfg!(target_pointer_width = "64") && cfg!(target_os = "linux") {