google/flatbuffers

Bazel rule rewrite

Open

#8,941 建立於 2026年2月26日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C++ (3,564 fork)batch import
CIhelp wanted

倉庫指標

Star
 (25,952 star)
PR 合併指標
 (平均合併 25天 11小時) (30 天內合併 2 個 PR)

描述

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!

貢獻者指南