0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00

Disable treat_warnings_as_errors on windows when sccache is in use

This commit is contained in:
Bert Belder 2018-10-26 04:13:10 +02:00
parent 61b765e008
commit dfe21af237
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -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")