Skip to content

Commit

Permalink
Merge pull request #81 from apronchenkov/patch-1
Browse files Browse the repository at this point in the history
Propagate the testonly= attribute in the pybind_extension macro.
  • Loading branch information
rickeylev authored Mar 28, 2024
2 parents 1b3b9e6 + 72f4470 commit c3cfc54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def pybind_extension(
name = name + "_copy_so_to_pyd",
src = name + ".so",
out = name + ".pyd",
testonly = kwargs.get("testonly")
)

native.alias(
Expand Down

0 comments on commit c3cfc54

Please sign in to comment.