Skip to content

Commit

Permalink
ci: run reusable_box tests with Miri (#4578)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Mar 21, 2022
1 parent 0abe825 commit 121769c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ freebsd_instance:
image: freebsd-12-2-release-amd64
env:
RUST_STABLE: stable
RUST_NIGHTLY: nightly-2022-01-12
RUST_NIGHTLY: nightly-2022-03-21
RUSTFLAGS: -D warnings

# Test FreeBSD in a full VM on cirrus-ci.com. Test the i686 target too, in the
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
RUST_BACKTRACE: 1
# Change to specific Rust release to pin
rust_stable: stable
rust_nightly: nightly-2022-01-12
rust_nightly: nightly-2022-03-21
rust_clippy: 1.52.0
rust_min: 1.49.0

Expand Down
1 change: 0 additions & 1 deletion tokio/src/signal/reusable_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ impl<T> fmt::Debug for ReusableBoxFuture<T> {
}

#[cfg(test)]
#[cfg(not(miri))] // Miri breaks when you use Pin<&mut dyn Future>
mod test {
use super::ReusableBoxFuture;
use futures::future::FutureExt;
Expand Down

0 comments on commit 121769c

Please sign in to comment.