summaryrefslogtreecommitdiffstats
path: root/src/pipeline/mod.rs
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-20 23:53:49 +0000
committeraur-build <aur-build@localhost>2026-11-20 23:53:49 +0000
commit28023ba17adbe6fc096a31d5e2c62d017a88fc4c (patch)
tree53b948169a47c012126466142aec80450eb07f9d /src/pipeline/mod.rs
parent66814ddb86009de7a519f167db634dab3e924fa8 (diff)
downloadaur-build-28023ba17adbe6fc096a31d5e2c62d017a88fc4c.tar.gz
aur-build-28023ba17adbe6fc096a31d5e2c62d017a88fc4c.zip
tools: the detector learns to see through a private inner module
`aliased_behind_private_module` reports an item as not release-exposed only when both halves of the pattern hold: a `pub use ..::NAME;` whose attribute block carries the test-support gate, and every `pub` declaration of the name sitting inside a module that is itself private. Either half alone is not enough — a gated alias to a genuinely public type says nothing, and a `pub` type in a public module is reachable whatever the alias says. The census still counts the inner `pub` as a public declaration, which is the honest reading of the text and the reason this needed a second check rather than a change to the first. New `narrowed` disposition, distinct from `already-gated`: production *does* use these items, just never from outside their module. `residue` and `ungated` are now 0 and the ratchet records it. Every one of the 46 items carries a hand-written reason naming its production caller or explaining why it has none.
Diffstat (limited to 'src/pipeline/mod.rs')
0 files changed, 0 insertions, 0 deletions