diff options
| author | Tshepang Mbambo <tshepang@gmail.com> | 2024-07-10 01:00:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-10 01:00:55 +0200 |
| commit | af3aa36d60746f8fac262cd5a3d32f23d60f36ea (patch) | |
| tree | 84f3bd320841b83599fe73d62378a858629e477f | |
| parent | 7fdefb804ec300fb605039522a7c0dfc9e7dc366 (diff) | |
| download | rust-af3aa36d60746f8fac262cd5a3d32f23d60f36ea.tar.gz rust-af3aa36d60746f8fac262cd5a3d32f23d60f36ea.zip | |
do not run test where it cannot run
This was seen on Ferrocene, where we have a custom test target that does not have unwind support
| -rw-r--r-- | library/alloc/src/slice/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/slice/tests.rs b/library/alloc/src/slice/tests.rs index 0156b9928da..0b972a13898 100644 --- a/library/alloc/src/slice/tests.rs +++ b/library/alloc/src/slice/tests.rs @@ -240,6 +240,7 @@ fn panic_safe() { #[test] #[cfg_attr(miri, ignore)] // Miri is too slow +#[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] fn test_sort() { let mut rng = test_rng(); |
