//python/private:py_cc_toolchain_rule.bzl — rules_python 0.0.0 documentation (original) (raw)

Implementation of py_cc_toolchain rule.

NOTE: This is a beta-quality feature. APIs subject to change until https://github.com/bazel-contrib/rules\_python/issues/824 is considered done.

rule py_cc_toolchain(name, headers, python_version, libs=None)

A toolchain for a Python runtime’s C/C++ information (e.g. headers)

This rule carries information about the C/C++ side of a Python runtime, e.g. headers, shared libraries, etc.

This provides ToolchainInfo with the following attributes:

Attributes: