Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个自定义的 bazel 规则,我需要一个属性仅应用于目标,而不是它的依赖项。它应该与 C++ local_defines 相同。谁能提供一些关于如何实现它的想法?我需要提供者中的字典吗?