Skip to content

feat: Rule for C extensions#1

Draft
rsartor-cmd wants to merge 36 commits into
mainfrom
py-extension
Draft

feat: Rule for C extensions#1
rsartor-cmd wants to merge 36 commits into
mainfrom
py-extension

Conversation

@rsartor-cmd

@rsartor-cmd rsartor-cmd commented Jun 23, 2026

Copy link
Copy Markdown
Owner

This PR introduces a new rule, py_extension, used for building C extensions. For now, the macro and rule are sufficiently developed for py_extension_test to build and pass, though work remains to be done for them to be production-ready.

bazel-contrib#3283

@rsartor-cmd rsartor-cmd changed the title Py extension feat: Rule for C extensions Jun 23, 2026
…el-contrib#3851)

This builds on the existing `py-extension` branch. It adds support for
platform and abi tags in the resulting library filename. The
`:py_extension_test`, `:py_extension_analysis_tests`, and
`:py_limited_api_tests` test targets in `//tests/cc/py_extension` now
build and pass.

Relates to bazel-contrib#3283
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.

2 participants