diff --git a/services/log-server/src/main.rs b/services/log-server/src/main.rs index cb20b4b54..d2a99fbdc 100644 --- a/services/log-server/src/main.rs +++ b/services/log-server/src/main.rs @@ -10,7 +10,9 @@ mod debug; use core::fmt::Write; use num_traits::FromPrimitive; -#[cfg(any(feature="hosted"))] +#[cfg(any(feature="hosted", + not(any(feature="precursor", feature="renode", feature="hosted")) // makes this the default implementation +))] mod implementation { use core::fmt::{Error, Write}; use std::sync::mpsc::{channel, Receiver, Sender}; @@ -110,9 +112,7 @@ mod implementation { } } -#[cfg(any(feature="precursor", feature="renode", - not(any(feature="precursor", feature="renode", feature="hosted")) // makes this the default implementation -))] +#[cfg(any(feature="precursor", feature="renode"))] mod implementation { use core::fmt::{Error, Write}; use utralib::generated::*;