mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-04 04:27: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. |
||
|---|---|---|
| .. | ||
| api.rs | ||
| lib.rs | ||
| main.rs | ||