diff options
Diffstat (limited to 'meta/recipes-devtools/rust/files/rust-oe-selftest.patch')
| -rw-r--r-- | meta/recipes-devtools/rust/files/rust-oe-selftest.patch | 48 |
1 files changed, 37 insertions, 11 deletions
diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch index b7ef806e65..547807f94c 100644 --- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch +++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch | |||
| @@ -119,7 +119,7 @@ index 1a9d3d3f12f..0a9cfc48806 100644 | |||
| 119 | fn test_get_mut_poison() { | 119 | fn test_get_mut_poison() { |
| 120 | let mut m = new_poisoned_rwlock(NonCopy(10)); | 120 | let mut m = new_poisoned_rwlock(NonCopy(10)); |
| 121 | 121 | ||
| 122 | @@ -567,6 +576,7 @@ | 122 | @@ -571,6 +571,7 @@ |
| 123 | 123 | ||
| 124 | #[test] | 124 | #[test] |
| 125 | #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] | 125 | #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] |
| @@ -130,7 +130,7 @@ index 1a9d3d3f12f..0a9cfc48806 100644 | |||
| 130 | diff --git a/library/test/src/tests.rs b/library/test/src/tests.rs | 130 | diff --git a/library/test/src/tests.rs b/library/test/src/tests.rs |
| 131 | --- a/library/test/src/tests.rs | 131 | --- a/library/test/src/tests.rs |
| 132 | +++ b/library/test/src/tests.rs | 132 | +++ b/library/test/src/tests.rs |
| 133 | @@ -424,6 +424,7 @@ | 133 | @@ -414,6 +414,7 @@ |
| 134 | } | 134 | } |
| 135 | 135 | ||
| 136 | #[test] | 136 | #[test] |
| @@ -173,7 +173,7 @@ diff --git a/compiler/rustc_data_structures/src/tagged_ptr/tests.rs b/compiler/r | |||
| 173 | index 160af8a65d..686f4607bb 100644 | 173 | index 160af8a65d..686f4607bb 100644 |
| 174 | --- a/compiler/rustc_data_structures/src/tagged_ptr/tests.rs | 174 | --- a/compiler/rustc_data_structures/src/tagged_ptr/tests.rs |
| 175 | +++ b/compiler/rustc_data_structures/src/tagged_ptr/tests.rs | 175 | +++ b/compiler/rustc_data_structures/src/tagged_ptr/tests.rs |
| 176 | @@ -5,6 +5,7 @@ use crate::stable_hasher::{HashStable, StableHasher}; | 176 | @@ -39,6 +39,7 @@ use crate::stable_hasher::{HashStable, StableHasher}; |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | #[test] | 179 | #[test] |
| @@ -185,19 +185,19 @@ diff --git a/library/std/tests/thread_local/tests.rs b/library/std/tests/thread_ | |||
| 185 | index 9d4f52a092..d425e5f7b7 100644 | 185 | index 9d4f52a092..d425e5f7b7 100644 |
| 186 | --- a/library/std/tests/thread_local/tests.rs | 186 | --- a/library/std/tests/thread_local/tests.rs |
| 187 | +++ b/library/std/tests/thread_local/tests.rs | 187 | +++ b/library/std/tests/thread_local/tests.rs |
| 188 | @@ -346,6 +346,7 @@ fn join_orders_after_tls_destructors() { | 188 | @@ -363,6 +363,7 @@ fn join_orders_after_tls_destructors() { |
| 189 | 189 | // ** musl: https://github.com/kraj/musl/blob/1880359b54ff7dd9f5016002bfdae4b136007dde/src/thread/pthread_key_create.c#L87 | |
| 190 | // Test that thread::current is still available in TLS destructors. | 190 | #[cfg(target_thread_local)] |
| 191 | #[test] | 191 | #[test] |
| 192 | +#[ignore] | 192 | +#[ignore] |
| 193 | fn thread_current_in_dtor() { | 193 | fn thread_current_in_dtor() { |
| 194 | // Go through one round of TLS destruction first. | 194 | use std::thread::Builder; |
| 195 | struct Defer; | 195 | |
| 196 | diff --git a/library/alloctests/tests/sort/tests.rs b/library/alloctests/tests/sort/tests.rs | 196 | diff --git a/library/alloctests/tests/sort/tests.rs b/library/alloctests/tests/sort/tests.rs |
| 197 | index 14e6013f96..b670f27ab4 100644 | 197 | index 14e6013f96..b670f27ab4 100644 |
| 198 | --- a/library/alloctests/tests/sort/tests.rs | 198 | --- a/library/alloctests/tests/sort/tests.rs |
| 199 | +++ b/library/alloctests/tests/sort/tests.rs | 199 | +++ b/library/alloctests/tests/sort/tests.rs |
| 200 | @@ -915,12 +915,14 @@ gen_sort_test_fns_with_default_patterns_3_ty!( | 200 | @@ -922,12 +922,14 @@ gen_sort_test_fns_with_default_patterns_3_ty!( |
| 201 | macro_rules! instantiate_sort_test_inner { | 201 | macro_rules! instantiate_sort_test_inner { |
| 202 | ($sort_impl:ty, miri_yes, $test_fn_name:ident) => { | 202 | ($sort_impl:ty, miri_yes, $test_fn_name:ident) => { |
| 203 | #[test] | 203 | #[test] |
| @@ -239,7 +239,7 @@ index 5b8e5ff4f4a..e558fbd7bd7 100644 | |||
| 239 | + | 239 | + |
| 240 | //@ only-linux | 240 | //@ only-linux |
| 241 | //@ aux-build:dwarf-mixed-versions-lto-aux.rs | 241 | //@ aux-build:dwarf-mixed-versions-lto-aux.rs |
| 242 | //@ compile-flags: -C lto -g -Zdwarf-version=5 | 242 | //@ compile-flags: -C lto -g -Cdwarf-version=5 |
| 243 | diff --git a/tests/codegen/dont-shuffle-bswaps.rs b/tests/codegen/dont-shuffle-bswaps.rs | 243 | diff --git a/tests/codegen/dont-shuffle-bswaps.rs b/tests/codegen/dont-shuffle-bswaps.rs |
| 244 | index 0e712bc3a4e..93965d990d0 100644 | 244 | index 0e712bc3a4e..93965d990d0 100644 |
| 245 | --- a/tests/codegen/dont-shuffle-bswaps.rs | 245 | --- a/tests/codegen/dont-shuffle-bswaps.rs |
| @@ -250,7 +250,7 @@ index 0e712bc3a4e..93965d990d0 100644 | |||
| 250 | +//@ only-arm | 250 | +//@ only-arm |
| 251 | +//@ only-aarch64 | 251 | +//@ only-aarch64 |
| 252 | + | 252 | + |
| 253 | //@ revisions: OPT2 OPT3 | 253 | //@ revisions: OPT2 OPT3 OPT3_S390X |
| 254 | //@[OPT2] compile-flags: -Copt-level=2 | 254 | //@[OPT2] compile-flags: -Copt-level=2 |
| 255 | //@[OPT3] compile-flags: -C opt-level=3 | 255 | //@[OPT3] compile-flags: -C opt-level=3 |
| 256 | diff --git a/tests/codegen/uninhabited-transparent-return-abi.rs b/tests/codegen/uninhabited-transparent-return-abi.rs | 256 | diff --git a/tests/codegen/uninhabited-transparent-return-abi.rs b/tests/codegen/uninhabited-transparent-return-abi.rs |
| @@ -280,3 +280,29 @@ index 57027364699..3faa7ea035e 100644 | |||
| 280 | // We used to not handle all "rustic" ABIs in a (relatively) uniform way, | 280 | // We used to not handle all "rustic" ABIs in a (relatively) uniform way, |
| 281 | // so we failed to fix up arguments for actually passing through the ABI... | 281 | // so we failed to fix up arguments for actually passing through the ABI... |
| 282 | #![feature(rust_cold_cc)] | 282 | #![feature(rust_cold_cc)] |
| 283 | diff --git a/tests/codegen/simd/extract-insert-dyn.rs b/tests/codegen/simd/extract-insert-dyn.rs | ||
| 284 | index 729f0145314..1b21356518e 100644 | ||
| 285 | --- a/tests/codegen/simd/extract-insert-dyn.rs | ||
| 286 | +++ b/tests/codegen/simd/extract-insert-dyn.rs | ||
| 287 | @@ -1,3 +1,8 @@ | ||
| 288 | +//@ only-x86 | ||
| 289 | +//@ only-x86_64 | ||
| 290 | +//@ only-arm | ||
| 291 | +//@ only-aarch64 | ||
| 292 | + | ||
| 293 | //@compile-flags: -C opt-level=3 -C no-prepopulate-passes | ||
| 294 | |||
| 295 | #![feature( | ||
| 296 | diff --git a/tests/codegen/const-vector.rs b/tests/codegen/const-vector.rs | ||
| 297 | index 42921442e03..af0edc2ee92 100644 | ||
| 298 | --- a/tests/codegen/const-vector.rs | ||
| 299 | +++ b/tests/codegen/const-vector.rs | ||
| 300 | @@ -1,3 +1,8 @@ | ||
| 301 | +//@ only-x86 | ||
| 302 | +//@ only-x86_64 | ||
| 303 | +//@ only-arm | ||
| 304 | +//@ only-aarch64 | ||
| 305 | + | ||
| 306 | //@ revisions: OPT0 OPT0_S390X | ||
| 307 | //@ [OPT0] ignore-s390x | ||
| 308 | //@ [OPT0_S390X] only-s390x | ||
