Skip to content

Commit

Permalink
Normalize imports and more miri
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Aug 3, 2024
1 parent 8dde357 commit a6eeca4
Show file tree
Hide file tree
Showing 6 changed files with 206 additions and 166 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- run: cargo miri test -- storage tests waker
- run: cargo miri test
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ lock_api = { version = "0.4.9", optional = true }
uniset = { version = "0.2.3", features = ["vec-safety"] }

[dev-dependencies]
tokio = { version = "1.27.0", features = ["full"] }
tokio = { version = "1.27.0", features = ["full", "test-util"] }
tokio-util = { version = "0.7.7", features = ["codec"] }
tokio-stream = "0.1.12"
rand = "0.8.5"
Expand Down
11 changes: 8 additions & 3 deletions benches/unordered.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use std::sync::Arc;
use std::thread;

use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use crossbeam::queue::SegQueue;
use futures::{channel::oneshot, executor::block_on, future, stream::StreamExt as _, task::Poll};
use std::{sync::Arc, thread};
use futures::channel::oneshot;
use futures::executor::block_on;
use futures::future;
use futures::stream::StreamExt as _;
use futures::task::Poll;

pub fn polling_benchmark(c: &mut Criterion) {
{
Expand Down
Loading

0 comments on commit a6eeca4

Please # to comment.