I’m here to announce the version 0.2.0 of Xargo!
For those that don’t know, Xargo is a “transparent” Cargo wrapper that builds and manages "sysroots"
for targets that don’t have binary releases of standard crates like
core. In a nutshell, you can
use Xargo, just like you’d use Cargo, to cross compile Rust program/libraries for
thumbv7em-none-eabihf. See below:
The notable changes for this release:
- Xargo no longer depends on the
cargocrate or the
curlcrate. This means that Xargo doesn’t
libssh2.so, etc. either. This makes Xargo easier to
more weird C compiler/make/cmake errors, yay!) and also makes its binary releases more portable.
- But, to achieve that, Xargo now depends on the
rust-srccomponent being installed (Xargo will no
longer download the Rust source itself). You can install it using rustup:
rustup component add rust-src.
- Binary releases are back up and now include fully statically linked binaries for Linux!