diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..895a423 --- /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 0bff680..6ef9a9c 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>, } }