Files
vectorcraft/xtask
dotCooCoo fbcc1627c4 xtask: test-lint counts items under cfg(all(test, ...)) as test code
test_regions matched only the exact `#[cfg(test)]`, so helpers in a
module under `#[cfg(all(test, windows))]` or
`#[cfg(all(test, not(target_arch = "wasm32")))]` (as in
apps/vectorcraft-web/src/file_drops.rs) were not test code: a sleep in
such a helper passed the check, and its asserting helpers were not found.

A cfg predicate now counts when it is `test` or an `all(...)` with such a
predicate among its arguments, at any depth and with any spacing.
`any(test, ...)`, `not(test)` and `feature = "test"` do not count.
2026-11-30 05:46:34 -08:00
..