๐ฅ๏ธ Use on Host โ
Use this path if you want to run Xila natively on your machine first, then integrate it into your own workspace.
Requirements โ
- Rust/Cargo
cargo-makegcc-multilib(for 32-bit builds on 64-bit hosts)nodejs(font tooling via lv_font_conv)
Quickstart (command-first) โ
Use this to get a first native run signal quickly.
bash
git clone https://github.com/Xila-Project/Core.git
cd Core
cargo make run -p native_exampleExpected success signal:
- A native window or console app starts, and the process runs without immediate panic.
What this sets up โ
- A host-targeted Xila runtime path using native drivers and the host feature set.
- A reproducible baseline to verify your machine/toolchain before integrating into your own app.
If cargo make is missing:
bash
cargo install cargo-makeIntegrator path โ
Once the native example works, create your own workspace and add Xila:
toml
[dependencies]
xila = { git = "https://github.com/Xila-Project/Core.git", features = ["host"] }Then follow this practical sequence:
- Implement or reuse drivers from
xila::drivers. - Register drivers in the Virtual File System.
- Initialize only the modules you need (task, graphics, file system, ...).
- Run your shell/app entrypoint.
Expected success signal:
- Your app links, starts, and reaches your Xila initialization code path.
Troubleshooting โ
cargo make: command not found: install withcargo install cargo-makeand restart the shell.- 32-bit link/build issues: install
gcc-multiliband retry. - Font-related build failures: ensure
nodejsis available and rerun font generation tasks. - Unsure where a component belongs: use the architecture maps below before wiring modules.
Next steps โ
- Read Use on WASM if you also need guest apps.
- Use Contribute for full project workflows and checks.
- Review Modules architecture map and Crates architecture map.
- Review WASM executable architecture, Command line shell architecture, and Graphical shell architecture.
INFO
For more details, refer to the examples/native or examples/wasm.