diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure index cd77d72bb77b..b9d24654f89b 100644 --- a/build/moz.configure/rust.configure +++ b/build/moz.configure/rust.configure @@ -699,6 +699,8 @@ def cargo_incremental( if not enabled: return "0" + elif enabled.origin != "default": + return "1" # We never want to use incremental compilation in automation. sccache # handles our automation use case much better than incremental compilation