ci: test more things with miri (#6885)

This commit is contained in:
tiif
2024-10-11 09:44:50 +02:00
committed by GitHub
parent 9cc4a81678
commit 161b8c80d5
66 changed files with 83 additions and 34 deletions
+2
View File
@@ -1,5 +1,7 @@
#![warn(rust_2018_idioms)]
#![cfg(not(target_os = "wasi"))] // Wasi doesn't support threads
// Blocked on https://github.com/rust-lang/miri/issues/3911
#![cfg(not(miri))]
use std::rc::Rc;
use std::sync::Arc;
+1
View File
@@ -92,6 +92,7 @@ async fn single_short_delay() {
}
#[tokio::test]
#[cfg_attr(miri, ignore)] // Too slow on miri.
async fn multi_delay_at_start() {
time::pause();
+1
View File
@@ -1,5 +1,6 @@
#![warn(rust_2018_idioms)]
#![cfg(not(target_os = "wasi"))] // Wasi doesn't support UDP
#![cfg(not(miri))] // No `socket` in Miri.
use tokio::net::UdpSocket;
use tokio_stream::StreamExt;