Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expose runtime's shared libraries through toolchain #1717

Merged
merged 6 commits into from
Jan 24, 2024

Conversation

rickeylev
Copy link
Collaborator

@rickeylev rickeylev commented Jan 23, 2024

This exposes the runtime's C libraries through the py cc toolchain. This allows tools to embed the Python runtime or otherwise link against it.

It follows the same pattern as with the headers: the toolchain consumes the cc_library,
exports CcInfo, and a :current_py_cc_libs target makes it easily accessible to users.

Work towards #824

  • Also upgrades to rules_testing 0.5.0 to make use of rules_testing's DefaultInfoSubject

This exposes the runtime's C libraries throught the py cc toolchain.
This allows tools to embed the Python runtime or otherwise link
against it.

Work towards bazel-contrib#824
@rickeylev rickeylev requested a review from aignas January 23, 2024 02:45
@rickeylev rickeylev requested a review from f0rmiga as a code owner January 23, 2024 02:45
@rickeylev rickeylev enabled auto-merge January 24, 2024 19:56
@rickeylev rickeylev disabled auto-merge January 24, 2024 21:05
@rickeylev rickeylev added this pull request to the merge queue Jan 24, 2024
Merged via the queue into bazel-contrib:main with commit 39610a7 Jan 24, 2024
@rickeylev rickeylev deleted the cc.toolchain.libs branch January 24, 2024 22:01
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.

None yet

3 participants