I haven’t tried it myself but there should be nothing blocking you from compiling it for arm, either by compling on the target or by cross-compiling from x86.
Native compiling is just installing rust and running cargo build --release. It’s the easiest way but compile times can get pretty bad on low power devices like a pi.
Cross-compiling can be simple but gets complicated when stuff like openssl is involved. Cross may help with that https://github.com/cross-rs/cross
Applying that to a Docker is a bit of a different matter though… If you haven’t figured it out, I can try it out on my raspberry pi in a few hours from now.
I haven’t tried it myself but there should be nothing blocking you from compiling it for arm, either by compling on the target or by cross-compiling from x86.
Native compiling is just installing rust and running
cargo build --release
. It’s the easiest way but compile times can get pretty bad on low power devices like a pi.Cross-compiling can be simple but gets complicated when stuff like openssl is involved. Cross may help with that https://github.com/cross-rs/cross
Applying that to a Docker is a bit of a different matter though… If you haven’t figured it out, I can try it out on my raspberry pi in a few hours from now.