# Cross-compilation configuration for the 'cross' tool # Windows GNU target (MinGW) - fully supported [target.x86_64-pc-windows-gnu] # Use edge image with newer GLIBC to avoid build script issues image = "ghcr.io/cross-rs/x86_64-pc-windows-gnu:edge" # Ensure build scripts run in the container pre-build = [ "dpkg --add-architecture i386", ] # Note: MSVC target is not supported by cross from Linux # MSVC requires proprietary Microsoft tools that only run on Windows # Use the GNU target for Windows cross-compilation from Linux