Naught is a an experimental alternative to cargo cross
. It makes a couple different design decisions:
- Naught does not provide pre-built versions of dockerized cross-compilation environments. Users will need to build the docker image locally before the first use.
- Naught focuses on community driven cross-compilation environments. Read below for more information.
- For now, only cross compilation is supported. Emulation for the purposes of testing is a non-goal at the moment.
You can find the library of cross-compilation dockerfiles in the naught-library
repo.
Similar to cargo cross
, cross-compilation environments are defined as Dockerfile
s, and cross compilation is executed within a docker container.
In cargo cross
, maximal backwards compatibility was a primary target. Naught instead has no focus. Users may submit dockerfiles to be part of the "library", though no official support is given to environments in this library. Only the Naught tool itself will be supported.
We suggest that users provide different environments for different use cases: some for maximal backwards compatibility, some for maximal convenience with many modern libraries pre-installed, etc.