# HG changeset patch
# User Xidorn Quan <me@upsuper.org>
# Date 1525482247 -36000
# Node ID a5832837830da61ee3ccd851d068b28a36951b0b
# Parent  6c47c8fd6e9d32286aad9a7389a8ab903b2218d5
Bug 1457524 followup - Unset RUSTDOC for no-compile environment and add it to mozconfigs.

diff --git a/build/mozconfig.no-compile b/build/mozconfig.no-compile
--- a/build/mozconfig.no-compile
+++ b/build/mozconfig.no-compile
@@ -8,16 +8,17 @@ NO_CACHE=1
 
 # Override any toolchain defines we've inherited from other mozconfigs.
 unset CC
 unset CXX
 unset HOST_CC
 unset HOST_CXX
 unset RUSTC
 unset CARGO
+unset RUSTDOC
 unset MAKECAB
 unset TOOLCHAIN_PREFIX
 unset BINDGEN_CFLAGS
 unset LLVM_CONFIG
 unset WIN64_LINK
 unset WIN64_LIB
 
 unset MOZ_STDCXX_COMPAT
