Closed anmenaga closed 9 months ago
Fix #256
This PR forces static linking of MSVC runtime to avoid errors like vcruntime140.dll was not found on clean Windows machines. This uses rustflags/+crt-static.
vcruntime140.dll was not found
rustflags/+crt-static
Side note: beware of a bug in the area of static linking (looks like DSC project is not impacted by this at this point).
Fix was verified on a clean Windows Server 2022.
PR Summary
Fix #256
This PR forces static linking of MSVC runtime to avoid errors like
vcruntime140.dll was not found
on clean Windows machines. This usesrustflags/+crt-static
.Side note: beware of a bug in the area of static linking (looks like DSC project is not impacted by this at this point).
Fix was verified on a clean Windows Server 2022.