Skip to content

Fixed #133 forwarding user target_compatible_with flags#135

Open
mikael-s-persson wants to merge 1 commit into
pybind:masterfrom
mikael-s-persson:fix/fwd_target_comp_flag
Open

Fixed #133 forwarding user target_compatible_with flags#135
mikael-s-persson wants to merge 1 commit into
pybind:masterfrom
mikael-s-persson:fix/fwd_target_comp_flag

Conversation

@mikael-s-persson

Copy link
Copy Markdown

See #133

@AustinSchuh AustinSchuh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that my review counts, but this looks good!

@Mizux Mizux self-assigned this Jul 2, 2026
Comment thread build_defs.bzl
**kwargs):
"""Builds a Python extension module using pybind11.

Args:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a description of this new parameter here ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean? target_compatible_with is a base/common attribute of all rules in Bazel, it's implied to potentially be part of kwargs like any other of the many common attributes. https://bazel.build/reference/be/common-definitions#common.target_compatible_with

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants