Skip to content

Commit c4aca6e

Browse files
authored
fix: propagate target_compatible_with to _py_env when creating a … (#438)
Hi! This fixes #437. This is my first issue so I'm not sure if this is the right thing to do. Tell me if this is good or you want me to change anything :)
1 parent a01323e commit c4aca6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

py/defs.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def _py_binary_or_test(name, rule, srcs, main, deps = [], resolutions = {}, **kw
9090
package_collisions = package_collisions,
9191
tags = ["manual"],
9292
testonly = kwargs.get("testonly", False),
93+
target_compatible_with = kwargs.get("target_compatible_with", []),
9394
)
9495

9596
def py_binary(name, srcs = [], main = None, **kwargs):

0 commit comments

Comments
 (0)