From dfe21af237c2dde125b352c7f069b1d8d8b5d8b4 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Fri, 26 Oct 2018 04:13:10 +0200 Subject: Disable treat_warnings_as_errors on windows when sccache is in use --- tools/setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/setup.py b/tools/setup.py index 7b14c6370..b806267cb 100755 --- a/tools/setup.py +++ b/tools/setup.py @@ -126,6 +126,9 @@ def generate_gn_args(mode): if os.name == "nt": tc = "//build_extra/toolchain/win:win_clang_x64" out += ['custom_toolchain="%s"' % tc, 'host_toolchain="%s"' % tc] + # Disable treat_warnings_as_errors until this sccache bug is fixed: + # https://github.com/mozilla/sccache/issues/264 + out += ["treat_warnings_as_errors=false"] # Look for sccache; if found, set rustc_wrapper. rustc_wrapper = find_executable("sccache") -- cgit v1.2.3