exec working up to halt
clean shutdown doesn't for some reason
This commit is contained in:
@@ -270,7 +270,6 @@ impl Encode for bool {
|
||||
}
|
||||
impl<T: Decode, const N: usize> Decode for [T; N] {
|
||||
async fn decode<R: AsyncRead + ?Sized>(mut read: Pin<&mut R>) -> Self {
|
||||
// TODO: figure out how to do this in safe rust on the stack
|
||||
let v = stream(async |mut cx| {
|
||||
for _ in 0..N {
|
||||
cx.emit(T::decode(read.as_mut()).await).await
|
||||
|
||||
Reference in New Issue
Block a user