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:
parent
61b765e008
commit
dfe21af237
1 changed files with 3 additions and 0 deletions
|
@ -126,6 +126,9 @@ def generate_gn_args(mode):
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
tc = "//build_extra/toolchain/win:win_clang_x64"
|
tc = "//build_extra/toolchain/win:win_clang_x64"
|
||||||
out += ['custom_toolchain="%s"' % tc, 'host_toolchain="%s"' % tc]
|
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.
|
# Look for sccache; if found, set rustc_wrapper.
|
||||||
rustc_wrapper = find_executable("sccache")
|
rustc_wrapper = find_executable("sccache")
|
||||||
|
|
Loading…
Add table
Reference in a new issue