# On Windows MSVC, statically link the C runtime so that the resulting EXE does # not depend on the vcruntime DLL. # # See: https://github.com/sharkdp/bat/issues/3634 [target.x86_64-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] [target.i686-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] [target.aarch64-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"]