conduwuit/CROSS_COMPILE.md

14 lines
331 B
Markdown
Raw Normal View History

2020-10-18 06:48:31 +00:00
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