I've run rustup target add x86_64-unknown-linux-gnu
but cargo build --target aarch64-unknown-linux-gnu --release
fails due to missing aarch64-linux-gnu-gc.
It seems there is no direct, simple way to install that. Recommendations?
Also, I assume that, with that build command, the executable will use dynamic linking but will run fine (with no additional dependencies) on EC2 Linux (specifically the AMI is al2023-ami-2023.6.20241010.0-kernel-6.1-arm64).