Skip to content

Commit

Permalink
Fix miri test
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed May 25, 2024
1 parent ef6d5d3 commit ca3433f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ mod tests {
custom_new_and_reset_in();
}

#[cfg(not(feature = "loom"))]
#[cfg(not(any(feature = "loom", feature = "miri")))]
fn stress_test_in() {
let pool = create_pool(10);

Expand All @@ -640,7 +640,7 @@ mod tests {
}

#[test]
#[cfg(not(feature = "loom"))]
#[cfg(not(any(feature = "loom", feature = "miri")))]
fn stress_test() {
stress_test_in();
}
Expand Down

0 comments on commit ca3433f

Please sign in to comment.