@[email protected] `rustc` - rust's compiler - works on top of a native c compiler, `gcc` for example. To target windows, you need an underlying cross-compiler that targets windows, being `x86_64-w64-mingw32-gcc`. I believe `gcc-mingw-w64-x86-64` is the package that provides it.