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.
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 anxpublish
andxinstall
command, tested using themythril
crate: https://crates.io/crates/mythril.