forked from NationTech/harmony
409 B
409 B
Compiling :
cargo build -p harmony_inventory_agent --release --target x86_64-unknown-linux-musl
This will create a statically linked binary that can run on pretty much any x86_64 system.
This requires installation of the target
rustup target add x86_64-unknown-linux-musl
And installation of the musl tools too.
On Archlinux, they can be installed with :
pacman -S musl