From 88b059c5608fadaa36e767f177812d6ac21061a5 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 3 Oct 2022 00:02:27 +0800 Subject: [PATCH] add a default impl so packaging doesn't barf --- services/log-server/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/log-server/src/main.rs b/services/log-server/src/main.rs index 2e2da3d91..cb20b4b54 100644 --- a/services/log-server/src/main.rs +++ b/services/log-server/src/main.rs @@ -110,7 +110,9 @@ mod implementation { } } -#[cfg(any(feature="precursor", feature="renode"))] +#[cfg(any(feature="precursor", feature="renode", + not(any(feature="precursor", feature="renode", feature="hosted")) // makes this the default implementation +))] mod implementation { use core::fmt::{Error, Write}; use utralib::generated::*;