Skip to content

Commit

Permalink
Merge pull request #166 from Burning1020/fix-ci
Browse files Browse the repository at this point in the history
ci: add MSRV
  • Loading branch information
abel-von committed Sep 19, 2024
2 parents 88c3b4d + bea49fa commit feb4e71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.74"
components = ["rustfmt", "clippy", "llvm-tools"]
4 changes: 3 additions & 1 deletion vmm/task/src/streaming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,12 @@ impl AsyncRead for StreamingStdin {
}
}

type Permit = Box<dyn Future<Output = Result<OwnedPermit<Vec<u8>>, SendError<()>>> + Send>;

pin_project_lite::pin_project! {
pub struct StreamingOutput {
sender: Sender<Vec<u8>>,
permit: Option<Pin<Box<dyn Future<Output = Result<OwnedPermit<Vec<u8>>, SendError<()>>> + Send>>>,
permit: Option<Pin<Permit>>,
}
}

Expand Down

0 comments on commit feb4e71

Please sign in to comment.