Open
Description
Lines 99 to 100 in 8bcecfe
Setting /WX
might make versions of Cargo harder to build in the future. If a new version of MSVC gets released that throws a warning here, users wanting to build an old version of Cargo will need to patch it to even make them build. See https://embeddedartistry.com/blog/2017/05/22/werror-is-not-your-friend/ ("-Werror Introduces a Toolchain Version Dependency"). It's better to only enable /WX
in CI, this way you can always change it, but don't leave users who want to compile Cargo with errors.
(from #13131 (comment)).