I believe that we can use Rust in Arduino, but how do we set this up?
Arduino is based on AVR, and AVR support in Rust is a work in progress:
Cool can’t wait to use Rust with Arduino one day.
Can you code in Rust and is Rust stable enough to be used on Aurduinos?
Would this also be compatable with a Rasbbery Pi or the Odroid without changing the code?
How do I upload an executable to the Due?
You could do that with a openocd /gdb or something similar. Take a look at https://docs.rust-embedded.org/book/start/hardware.html, as MCU the due is equipped with a Atmel SAM3X8E ARM Cortex-M3.