mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-01-28 19:55:58 +03:00
13 lines
322 B
Markdown
13 lines
322 B
Markdown
# Cross compilation
|
|
|
|
Install docker:
|
|
|
|
```bash
|
|
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
|