diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..895a4233 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.74" +components = ["rustfmt", "clippy", "llvm-tools"] \ No newline at end of file diff --git a/vmm/task/src/streaming.rs b/vmm/task/src/streaming.rs index 0bff6808..6ef9a9cf 100644 --- a/vmm/task/src/streaming.rs +++ b/vmm/task/src/streaming.rs @@ -436,10 +436,12 @@ impl AsyncRead for StreamingStdin { } } +type Permit = Box>, SendError<()>>> + Send>; + pin_project_lite::pin_project! { pub struct StreamingOutput { sender: Sender>, - permit: Option>, SendError<()>>> + Send>>>, + permit: Option>, } }