actually, make hosted the default implementation for crates.io

This commit is contained in:
bunnie 2022-10-03 00:03:10 +08:00
parent 88b059c560
commit 29ce54635b

View file

@ -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::*;