Conduit is a simple, fast and reliable chat server powered by Matrix https://conduit.rs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
322 B
14 lines
322 B
|
5 years ago
|
# 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
|