conduit/CROSS_COMPILE.md
2021-04-02 22:11:14 +00:00

332 B

Install docker:

$ sudo apt install docker
$ sudo usermod -aG docker $USER
$ exec sudo su -l $USER
$ sudo systemctl start docker
$ cargo install cross
$ cross build --release --features tls_vendored --target armv7-unknown-linux-musleabihf

The cross-compiled binary is at target/armv7-unknown-linux-musleabihf/release/conduit