google/flatbuffers

Bazel rule rewrite

Open

#8.941 geöffnet am 26. Feb. 2026

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (3.564 Forks)batch import
CIhelp wanted

Repository-Metriken

Stars
 (25.952 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 25T 11h) (2 gemergte PRs in 30 T)

Beschreibung

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!

Contributor Guide