diff options
Diffstat (limited to 'tools/setup.py')
-rwxr-xr-x | tools/setup.py | 3 |
1 files changed, 3 insertions, 0 deletions
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") |