Skip to content

Commit

Permalink
Fixup parital windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreiniger committed May 8, 2024
1 parent 2af8aa2 commit d86e696
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions rules_robotpy_utils/pybind_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,10 @@ def create_pybind_library(
],
)

# copy_file(
# name = name + ".win_pyd",
# src = extension_name + ".so",
# out = extension_name + ".pyd",
# visibility = ["//visibility:public"],
# tags = ["manual"],
# )

# TODO this is now redundant
native.alias(
name = name + ".pyso",
actual = select({
"@rules_bazelrio//conditions:windows": name + ".win_pyd",
"//conditions:default": "{}.so".format(extension_name),
}),
actual = extension_name,
visibility = extension_visibility,
)

Expand Down

0 comments on commit d86e696

Please sign in to comment.