Commit edd6bb6
James Sharpe
feat: Add feature to expose whether the native rules are used (#2549)
Internally rules_python decides whether the implementation should use
the legacy builtin rules from bazel or not.
The rules_python attributes have diverged from the builtin rules e.g.
`precompile` and so a consumer of this library that wants to support
bazel versions that are still using the legacy builtin rules needs a
method to be able to query whether the rules are being used.
This change adds a entry to features.bzl to expose whether the legacy
builtin rules are being used.1 parent 1cb4f8f commit edd6bb6
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| 25 | + | |
23 | 26 | | |
0 commit comments