1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-09-11 19:39:09 +02:00
conduit/CROSS_COMPILE.md
2021-04-15 22:07:27 -03:00

10 lines
308 B
Markdown

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 --target armv7-unknown-linux-musleabihf
```
The cross-compiled binary is at target/armv7-unknown-linux-musleabihf/release/conduit