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.
testonly
visibility
1 parent 3946bd0 commit b793cedCopy full SHA for b793ced
build_defs.bzl
@@ -68,7 +68,8 @@ def pybind_extension(
68
name = name + "_copy_so_to_pyd",
69
src = name + ".so",
70
out = name + ".pyd",
71
- testonly = kwargs.get("testonly")
+ testonly = kwargs.get("testonly"),
72
+ visibility = kwargs.get("visibility"),
73
)
74
75
native.alias(
@@ -77,6 +78,8 @@ def pybind_extension(
77
78
"@platforms//os:windows": name + ".pyd",
79
"//conditions:default": name + ".so",
80
}),
81
82
83
84
85
# Builds a pybind11 compatible library. This can be linked to a pybind_extension.
0 commit comments