summaryrefslogtreecommitdiffstats
path: root/tools/arch-census.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arch-census.py')
-rwxr-xr-xtools/arch-census.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/arch-census.py b/tools/arch-census.py
index 24f2c5f..d89be2c 100755
--- a/tools/arch-census.py
+++ b/tools/arch-census.py
@@ -201,7 +201,10 @@ def census():
}
-BUDGET_KEYS = ("pub", "dead", "test", "deadonly", "priv", "glob")
+# `priv` is deliberately absent: a `pub(crate)` item is the good state, so a
+# rising count is progress and must never be a ceiling. The same list is
+# mirrored by `budgeted` in tests/architecture.rs.
+BUDGET_KEYS = ("pub", "dead", "test", "deadonly", "glob")
def check_budget(data, budget):