I've been comparing the assembly code generated by C and Rust for x86 and ARM.
I have an M1 Mac and I found how to cross-compile C with Clang, but so far I can't find how to cross-compile Rust.
How can I generate an x86_64 binary from Rust on an M1 Mac?