As I work on setting up a Pi Zero W as a little portable system for some lightweight dev, I'm running the challenge of compiling certain binaries on-system. To say that the Pi Zero W's resources are limited is an understatement; it can take days to compile something that might take minutes on a more robust system.
What I wanted was to cross-compile Microsoft Edit. I got it working by installing rust on my Raspberry Pi 400 with the 64-bit OS, then adding the appropriate target:
rustup target add arm-unknown-linux-gnueabihf