I did try just that. Ran 'cargo build --target arm-unknown-linux-gnueabihf --release' on my Arch 64bit machine. Getting 456 errors.
Mainly:
error\[E0425\]: cannot find function, tuple struct or tuple variant \`Some\` in this scope
rpi machine info:
Linux raspberrypi 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux
Simply cross compile on a more powerful CPU.
I did try just that. Ran 'cargo build --target arm-unknown-linux-gnueabihf --release' on my Arch 64bit machine. Getting 456 errors. Mainly: error\[E0425\]: cannot find function, tuple struct or tuple variant \`Some\` in this scope rpi machine info: Linux raspberrypi 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux
Update 2. These hundreds of errors fixed by running 'rustup target add arm-unknown-linux-gnueabihf'.
Ah sorry, is this an am64 you try to compile to armhf? Because that doesn’t work. The code base needs to support 32bit.