diff --git a/windows/.cargo/config.toml b/windows/.cargo/config.toml new file mode 100644 index 0000000..3604303 --- /dev/null +++ b/windows/.cargo/config.toml @@ -0,0 +1,6 @@ +# The Windows programs carry their C runtime: vcruntime140.dll is not on every Windows (the +# Visual C++ Redistributable brings it), and nothing else should have to be installed first. +# (LNK4099: the static runtime's objects name Microsoft's own PDBs, which are not shipped; it +# is about their debug info only.) +[target.x86_64-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static", "-C", "link-arg=/ignore:4099"]