1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-12-29 09:34:38 +01:00
conduit/CROSS_COMPILE.md
2020-10-18 09:04:11 +02:00

13 lines
331 B
Markdown

Install docker:
$ sudo apt install docker
$ sudo usermod -aG docker $USER
Then log out and back in.
$ 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