Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not run test where it cannot run #127554

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
tshepang authored Jul 9, 2024
commit af3aa36d60746f8fac262cd5a3d32f23d60f36ea
1 change: 1 addition & 0 deletions library/alloc/src/slice/tests.rs
Original file line number Diff line number Diff line change
@@ -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();

Loading