mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
actually, make hosted the default implementation for crates.io
This commit is contained in:
parent
88b059c560
commit
29ce54635b
1 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,9 @@ mod debug;
|
||||||
use core::fmt::Write;
|
use core::fmt::Write;
|
||||||
use num_traits::FromPrimitive;
|
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 {
|
mod implementation {
|
||||||
use core::fmt::{Error, Write};
|
use core::fmt::{Error, Write};
|
||||||
use std::sync::mpsc::{channel, Receiver, Sender};
|
use std::sync::mpsc::{channel, Receiver, Sender};
|
||||||
|
|
@ -110,9 +112,7 @@ 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 {
|
mod implementation {
|
||||||
use core::fmt::{Error, Write};
|
use core::fmt::{Error, Write};
|
||||||
use utralib::generated::*;
|
use utralib::generated::*;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue