mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
xous: arch: look for feature flag for tests
When running tests, `processes-as-threads` gets enabled. Look for this feature flag to determine if we need to use that architecture. Note that this change requires `resolver v2` to be enabled. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
5efe76f490
commit
23ce9e5bf0
1 changed files with 7 additions and 7 deletions
|
|
@ -1,14 +1,14 @@
|
|||
#[cfg(any(target_os = "none", target_os = "xous"))]
|
||||
pub mod native;
|
||||
pub mod riscv;
|
||||
#[cfg(any(target_os = "none", target_os = "xous"))]
|
||||
pub use native::*;
|
||||
pub use riscv::*;
|
||||
|
||||
#[cfg(all(any(windows,unix), not(test)))]
|
||||
#[cfg(all(any(windows,unix), not(feature = "processes-as-threads")))]
|
||||
pub mod hosted;
|
||||
#[cfg(all(any(windows,unix), not(test)))]
|
||||
#[cfg(all(any(windows,unix), not(feature = "processes-as-threads")))]
|
||||
pub use hosted::*;
|
||||
|
||||
#[cfg(all(any(windows,unix), test))]
|
||||
#[cfg(feature = "processes-as-threads")]
|
||||
pub mod test;
|
||||
#[cfg(all(any(windows,unix), test))]
|
||||
pub use test::*;
|
||||
#[cfg(feature = "processes-as-threads")]
|
||||
pub use test::*;
|
||||
|
|
|
|||
Loading…
Reference in a new issue