A library to invoke the native C compiler installed on the host machine through ninja build.
This package mirrors the API of native_toolchain_c. Simply replace CBuilder with NinjaBuilder and the build will be run through ninja instead of invoking the compiler directly.
Building through ninja allows for incremental and parallel builds, better dependency tracking and automatic compile_commands.json generation.
Ninja does not need to be installed on the host system, if missing it will be downloaded during the build. The download is checked against original sha256 checksum to ensure integrity. See ninja_releases.json for more information.
An example can be found in example/package.