mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-14 08:03:34 +00:00
In general, hosted mode is assumed "by default" if the target is not Xous. This allows packages to be built cleanly on command lines that don't know to pass a --feature flag to specify a target. However, an explicit "hosted" flag is still retained so that we can confirm the build system intent. This saves us from the failure mode that we thought we were building for target A, but accidentally ommitted the flag, and instead we've been silently building for "hosted" mode without any warning. The main consumer of the "hosted" flag is now just the build.rs script inside of the utralib.
32 lines
553 B
Rust
32 lines
553 B
Rust
mod basis;
|
|
pub use basis::*;
|
|
mod dictionary;
|
|
pub use dictionary::*;
|
|
mod key;
|
|
pub use key::*;
|
|
mod pagetable;
|
|
pub use pagetable::*;
|
|
mod fastspace;
|
|
pub use fastspace::*;
|
|
mod types;
|
|
pub use types::*;
|
|
mod bcrypt;
|
|
pub use bcrypt::*;
|
|
|
|
// local to the backend
|
|
mod murmur3;
|
|
pub(crate) use murmur3::*;
|
|
mod trngpool;
|
|
pub(crate) use trngpool::*;
|
|
|
|
mod hw;
|
|
pub(crate) use hw::*;
|
|
|
|
// hosted mode emulation structures
|
|
#[cfg(not(target_os = "xous"))]
|
|
mod hosted;
|
|
#[cfg(not(target_os = "xous"))]
|
|
pub(crate) use hosted::*;
|
|
|
|
#[cfg(feature="migration1")]
|
|
mod migration1to2;
|