# Statically link the MinGW C/C++ runtime so our binaries are SELF-CONTAINED # (no libstdc++-6.dll / libgcc_s_seh-1.dll / libwinpthread-1.dll dependency). # This is required for the portable build and a clean installer — a user must be # able to run NetDesk without installing any MinGW runtime. [target.x86_64-pc-windows-gnu] rustflags = [ "-C", "link-arg=-static", "-C", "link-arg=-static-libgcc", "-C", "link-arg=-static-libstdc++", ]