Hey, Rustaceans!
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 no_std
targets
like thumbv7em-none-eabihf
. See below:
The notable changes for this release:
- Xargo no longer depends on the
cargo
crate or thecurl
crate. This means that Xargo doesn't
depend onlibcurl.so
,libssh2.so
, etc. either. This makes Xargo easier tocargo install
(no
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-src
component 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!
Enjoy!
P.S. error-chain is awesome!
P.P.S. Cargo's flock is also awesome!