google/flatbuffers

Bazel rule rewrite

Open

#8941 aperta il 26 feb 2026

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C++ (3564 fork)batch import
CIhelp wanted

Metriche repository

Star
 (25.952 star)
Metriche merge PR
 (Merge medio 25g 11h) (2 PR mergiate in 30 g)

Descrizione

For my use case the existing flatbuffers_cc_library isn't sufficient. For example, it can't accept filegroups as source arguments. I think the best way to handle this would be to write new idiomatic Bazel rules from scratch using providers, custom rules instead of genrules, etc. To start, it would probably make sense to implement these rules in parallel to the existing rules to give people time to migrate.

I'm willing to implement this--would such a PR be accepted or would I be better off creating a separate rules_flatbuffers project? Thanks for any advice!

Guida contributor