From 4bb49b3720d72483c482c019b6da560c2f68545e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Mon, 13 Feb 2023 09:46:05 +0100 Subject: [PATCH] Fix serde extensions feature --- src/serde_extensions.rs | 2 +- tests/serde_extensions.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serde_extensions.rs b/src/serde_extensions.rs index 8c372d1a3e9..5caebfcc186 100644 --- a/src/serde_extensions.rs +++ b/src/serde_extensions.rs @@ -166,7 +166,7 @@ pub trait ExtensionClient: PollClient { } } -impl ExtensionClient for ClientImplementation +impl<'pipe, E, S, I> ExtensionClient for ClientImplementation<'pipe, S, I> where E: Extension, S: Syscall, diff --git a/tests/serde_extensions.rs b/tests/serde_extensions.rs index 611a13f5533..9e38540c355 100644 --- a/tests/serde_extensions.rs +++ b/tests/serde_extensions.rs @@ -37,7 +37,7 @@ use trussed::{ use runner::Backends; type Platform = virt::Platform; -type Client = ClientImplementation, Backends>; +type Client<'pipe> = ClientImplementation<'pipe, Service<'pipe, Platform, 1, Backends>, Backends>; mod extensions { use serde::{Deserialize, Serialize};