Bug 1576099 - Allow to forcefully enable cargo incremental. r=firefox-build-system-reviewers,nalexander

Differential Revision: https://phabricator.services.mozilla.com/D119714
This commit is contained in:
Mike Hommey 2021-07-13 20:31:37 +00:00
Родитель 7b21c41dfe
Коммит 627c20902f
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

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