Skip to content

Commit

Permalink
Fix serde extensions feature
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Feb 13, 2023
1 parent c65ae6e commit 4bb49b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/serde_extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ pub trait ExtensionClient<E: Extension>: PollClient {
}
}

impl<E, S, I> ExtensionClient<E> for ClientImplementation<S, I>
impl<'pipe, E, S, I> ExtensionClient<E> for ClientImplementation<'pipe, S, I>
where
E: Extension,
S: Syscall,
Expand Down
2 changes: 1 addition & 1 deletion tests/serde_extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use trussed::{
use runner::Backends;

type Platform = virt::Platform<Ram>;
type Client = ClientImplementation<Service<Platform, Backends>, Backends>;
type Client<'pipe> = ClientImplementation<'pipe, Service<'pipe, Platform, 1, Backends>, Backends>;

mod extensions {
use serde::{Deserialize, Serialize};
Expand Down

0 comments on commit 4bb49b3

Please sign in to comment.