Skip to content

Commit e2d749c

Browse files
committed
add features flag
1 parent 619af6e commit e2d749c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

python/features.bzl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ def _features_typedef():
3131
:::
3232
::::
3333
34+
::::{field} py_info_site_packages_symlinks
35+
36+
True if the `PyInfo.site_packages_symlinks` field is available.
37+
38+
:::{versionadded} VERSION_NEXT_FEATURE
39+
:::
40+
::::
41+
3442
::::{field} uses_builtin_rules
3543
:type: bool
3644
@@ -51,7 +59,9 @@ def _features_typedef():
5159

5260
features = struct(
5361
TYPEDEF = _features_typedef,
62+
# keep sorted
5463
precompile = True,
64+
py_info_site_packages_symlinks = True,
5565
uses_builtin_rules = not config.enable_pystar,
5666
version = _VERSION_PRIVATE if "$Format" not in _VERSION_PRIVATE else "",
5767
)

0 commit comments

Comments
 (0)