mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add the generated.rs top file which routes to specific configs with feature flags
This commit is contained in:
parent
0cfc09f523
commit
4f7f5855ec
1 changed files with 18 additions and 0 deletions
18
utralib/src/generated.rs
Normal file
18
utralib/src/generated.rs
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
// Feature flags are checked inside build.rs for sanity, so we
|
||||||
|
// can use them here assuming all targets are mutually exclusive.
|
||||||
|
|
||||||
|
#[cfg(feature="precursor-c809403")]
|
||||||
|
mod precursor_c809403;
|
||||||
|
#[cfg(feature="precursor-c809403")]
|
||||||
|
pub use precursor_c809403::*;
|
||||||
|
|
||||||
|
|
||||||
|
#[cfg(feature="precursor-c809403-perflib")]
|
||||||
|
mod precursor_perf_c809403;
|
||||||
|
#[cfg(feature="precursor-c809403-perflib")]
|
||||||
|
pub use precursor_perf_c809403::*;
|
||||||
|
|
||||||
|
// Hosted mode includes nothing, as it relies on the abstract host
|
||||||
|
// architecture for I/O; so this file is empty when the "hosted"
|
||||||
|
// configuration is selected and there are no corresponding "hosted"
|
||||||
|
// mode feature flags.
|
||||||
Loading…
Reference in a new issue