with rust?
Have you tried cross? (If directly adding Windows toolchain using rustup and cargo build doesn't work) https://github.com/cross-rs/cross I've had luck compiling to other Linux based targets, never tried windows targets though.
I tried windows targets with it, worked flawlessly
Обсуждают сегодня