We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cb4f8f commit d8172b0Copy full SHA for d8172b0
python/features.bzl
@@ -13,11 +13,14 @@
13
# limitations under the License.
14
"""Allows detecting of rules_python features that aren't easily detected."""
15
16
+load("@rules_python_internal//:rules_python_config.bzl", "config")
17
+
18
# This is a magic string expanded by `git archive`, as set by `.gitattributes`
19
# See https://git-scm.com/docs/git-archive/2.29.0#Documentation/git-archive.txt-export-subst
20
_VERSION_PRIVATE = "$Format:%(describe:tags=true)$"
21
22
features = struct(
23
version = _VERSION_PRIVATE if "$Format" not in _VERSION_PRIVATE else "",
24
precompile = True,
25
+ uses_builtin_rules = not config.enable_pystar,
26
)
0 commit comments