Skip to content

Commit

Permalink
Fix ignoring test under miri
Browse files Browse the repository at this point in the history
The `async_functions` module is not even compiled-but-ignored with miri, it is
completely `cfg`ed off. Therefore we ahve to do the same with this test that
imports stuff from that module.
  • Loading branch information
fitzgen committed Aug 17, 2023
1 parent f14b6ce commit 240c4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/all/pooling_allocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ fn total_tables_limit() -> Result<()> {
}

#[tokio::test]
#[cfg_attr(miri, ignore)]
#[cfg(not(miri)]
async fn total_stacks_limit() -> Result<()> {
use super::async_functions::PollOnce;

Expand Down

0 comments on commit 240c4b0

Please sign in to comment.