pub fn run(args: BuildKoboArgs) -> Result<()>Expand description
Cross-compiles Cadmus for Kobo ARM devices.
ยงErrors
Returns an error if:
- The host platform is not Linux or macOS.
- The Linaro ARM toolchain is not on
PATH. - The underlying
cargo buildinvocation fails.
The ensure_submodules and ensure_sqlite preflight steps run
eagerly so that libs/ and target/cadmus-build-deps/... are
populated before cargo build starts.