There's a merged pull request on the void-packages repository cross-x86_64-w64-mingw32: allow building on musl. https://github.com/void-linux/void-packages/pull/12332 Description: Successfully built it on x86_64-musl: index: added `cross-i686-w64-mingw32-6.0.0_1' (x86_64-musl). index: added `cross-i686-w64-mingw32-crt-6.0.0_1' (x86_64-musl). index: added `cross-x86_64-w64-mingw32-6.0.0_1' (x86_64-musl). index: added `cross-x86_64-w64-mingw32-crt-6.0.0_1' (x86_64-musl). index: 17 packages registered. Signed-off-by: Juan RP