diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-07-10 17:54:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-10 17:54:26 +0200 |
| commit | aae262cafaa74fcc69f464732e53c0a160896ce1 (patch) | |
| tree | b8466c2a591f0efa4d19e9058692973d75a35301 | |
| parent | a7fe30d82a0e69e42180a8ec37c1e97e28e2fd7c (diff) | |
| parent | af3aa36d60746f8fac262cd5a3d32f23d60f36ea (diff) | |
| download | rust-aae262cafaa74fcc69f464732e53c0a160896ce1.tar.gz rust-aae262cafaa74fcc69f464732e53c0a160896ce1.zip | |
Rollup merge of #127554 - ferrocene:tshepang-add-missing-attribute, r=pietroalbini
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(); |
