mirror of https://gitlab.com/famedly/conduit
Merge pull request 'docs: cross compile' (#226) from cross-compile into master
Reviewed-on: https://git.koesters.xyz/timo/conduit/pulls/226merge-requests/22/head
commit
fbbf9f8999
@ -0,0 +1,13 @@
|
||||
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
|
Loading…
Reference in New Issue