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 | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch index 0e952efadc..b2bfed0726 100644 --- a/meta/recipes-devtools/rust/files/rust-oe-selftest.patch +++ b/meta/recipes-devtools/rust/files/rust-oe-selftest.patch | |||
@@ -63,7 +63,7 @@ index 35a5291a347..5f2858d2505 100644 | |||
63 | 63 | ||
64 | #[test] | 64 | #[test] |
65 | +#[ignore] | 65 | +#[ignore] |
66 | #[cfg_attr(target_os = "emscripten", ignore)] | 66 | #[cfg_attr(any(target_os = "emscripten", target_os = "wasi"), ignore)] // no threads |
67 | fn panic_in_write_doesnt_flush_in_drop() { | 67 | fn panic_in_write_doesnt_flush_in_drop() { |
68 | static WRITES: AtomicUsize = AtomicUsize::new(0); | 68 | static WRITES: AtomicUsize = AtomicUsize::new(0); |
69 | diff --git a/library/std/src/io/stdio/tests.rs b/library/std/src/io/stdio/tests.rs | 69 | diff --git a/library/std/src/io/stdio/tests.rs b/library/std/src/io/stdio/tests.rs |
@@ -75,7 +75,7 @@ index f89fd27ce6c..79737f5b127 100644 | |||
75 | 75 | ||
76 | #[test] | 76 | #[test] |
77 | +#[ignore] | 77 | +#[ignore] |
78 | #[cfg_attr(target_os = "emscripten", ignore)] | 78 | #[cfg_attr(any(target_os = "emscripten", target_os = "wasi"), ignore)] // no threads |
79 | fn panic_doesnt_poison() { | 79 | fn panic_doesnt_poison() { |
80 | thread::spawn(|| { | 80 | thread::spawn(|| { |
81 | diff --git a/library/std/src/sync/mpsc/sync_tests.rs b/library/std/src/sync/mpsc/sync_tests.rs | 81 | diff --git a/library/std/src/sync/mpsc/sync_tests.rs b/library/std/src/sync/mpsc/sync_tests.rs |
@@ -318,17 +318,6 @@ index 5d6b9e94ee9..a5aacb2eb87 100644 | |||
318 | fn test_try_panic_any_message_unit_struct() { | 318 | fn test_try_panic_any_message_unit_struct() { |
319 | struct Juju; | 319 | struct Juju; |
320 | 320 | ||
321 | diff --git a/library/alloc/src/slice/tests.rs b/library/alloc/src/slice/tests.rs | ||
322 | --- a/library/alloc/src/slice/tests.rs | ||
323 | +++ b/library/alloc/src/slice/tests.rs | ||
324 | @@ -186,6 +186,7 @@ | ||
325 | std::thread_local!(static SILENCE_PANIC: Cell<bool> = Cell::new(false)); | ||
326 | |||
327 | #[test] | ||
328 | +#[ignore] | ||
329 | #[cfg_attr(target_os = "emscripten", ignore)] // no threads | ||
330 | #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] | ||
331 | fn panic_safe() { | ||
332 | diff --git a/library/test/src/tests.rs b/library/test/src/tests.rs | 321 | diff --git a/library/test/src/tests.rs b/library/test/src/tests.rs |
333 | --- a/library/test/src/tests.rs | 322 | --- a/library/test/src/tests.rs |
334 | +++ b/library/test/src/tests.rs | 323 | +++ b/library/test/src/tests.rs |