4 ms·
I'm maintaining a docker image to cross-compile at https://hub.docker.com/r/fabricedesre/rustpi2/ https://hub.docker.com/r/fabricedesre/rustpi2/. It's Rasberry
by fabrice_d 11y ago
I'm maintaining a docker image to cross-compile at https://hub.docker.com/r/fabricedesre/rustpi2/ https://hub.docker.com/r/fabricedesre/rustpi2/. It's Rasberry Pi2 specific since it relies on a tweaked sysroot to link against OpenSSL and a few other libraries.
The way I'm using it is: docker run --name rustpi2 -v `pwd`:/home/rustpi2/dev/source -v $HOME/.cargo:/home/rustpi2/.cargo fabricedesre/rustpi2 cargopi build (cargopi is just equivalent to cargo --target=armv7-unknown-linux-gnueabihf)