Surprisingly, one of the more challenging aspects of implementing low-level projects is cross-compilation. Thanks to its LLVM underpinnings, rustc comes with a lot of toolchains for different CPU architectures. However, cross-compiling an application means that its (native) dependencies have to be available for this CPU architecture as well. This is challenging for small projects since it requires lots of management for versions across architectures and grows more and more complex with every added requirement. This is why there have been several tools that relate to this issue. In this recipe, we will explore at a few tools and learn how to use them.
Cross-compiling Rust
Getting ready
This recipe is highly platform-specific...