Recently I have tried to use zig for cross-compilation, and tried x86_64-linux-musl mips-linux-musleabi, etc.
The results are very good, but you need to do some definition and configuration yourself. It would be better if nim could use it as an officially supported compiler.