On Mon, Feb 23, 2026 at 11:45 AM Peter Foley <pefoley@google.com> wrote:
The primary BUILD file is in Google's internal repository, so I can't share that.
Unfortunately in my quick testing, the OSS bazel build doesn't actually catch the same layering check violations that Google's internal "Blaze" variant of bazel does.
So I'm not sure how helpful it would be.

I poked at this some more, and clang-include-cleaner seems to be able to do a good job of determining whether the headers compile stand-alone.
I had to make some more fixes to get there though:
https://github.com/pefoley2/passt/commit/5067d86e567851db24dad515cd36b53627266ba6

If you want, I can fold the two "include fixing" commits together and re-send.