rust-osdev / cargo-xbuild

Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc.
Apache License 2.0
260 stars 25 forks source link

Add support for publishing and installing cross compiled crates #47

Closed ALSchwalm closed 5 years ago

ALSchwalm commented 5 years ago

This is probably a niche use-case, but it is also a small PR. I plan to distribute an EFI application cross compiled with the x86_64-unknown-uefi target. But I would like to be able to give instructions to install and use these applications (via qemu) that are similar to installation of a normal binary available on cargo.io (i.e., you don't have to clone the source repo manually). So this PR adds an xpublish and xinstall command, tested using the mythril crate: https://crates.io/crates/mythril.

phil-opp commented 5 years ago

Thanks!

phil-opp commented 5 years ago

Published as version 0.5.18