ci: run reusable_box tests with Miri (#4578)

This commit is contained in:
Taiki Endo
2022-03-21 23:57:47 +09:00
committed by GitHub
parent 0abe825b72
commit 121769c762
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
-1
View File
@@ -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;