xous-core/services/codec/src/backend/mod.rs
Sean Cross b86e0a65cd services: recognize xous as a hardware OS
Support `xous` as a valid OS. This allows us to build the entire kernel
under this target.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-02 18:11:48 +08:00

9 lines
340 B
Rust

#[cfg(not(any(target_os = "none", target_os = "xous")))]
mod hostaudio;
#[cfg(not(any(target_os = "none", target_os = "xous")))]
pub use crate::backend::hostaudio::*;
#[cfg(any(target_os = "none", target_os = "xous"))]
mod tlv320aic3100;
#[cfg(any(target_os = "none", target_os = "xous"))]
pub(crate) use crate::backend::tlv320aic3100::*;