1:::{default-domain} bzl 2::: 3:::{bzl:currentfile} //python/cc:BUILD.bazel 4::: 5# //python/cc 6 7:::{bzl:target} current_py_cc_headers 8 9A convenience target that provides the Python headers. It uses toolchain 10resolution to find the headers for the Python runtime matching the interpreter 11that will be used. This basically forwards the underlying 12`cc_library(name="python_headers")` target defined in the `@python_X_Y` repo. 13 14This target provides: 15 16* `CcInfo`: The C++ information about the Python headers. 17::: 18 19:::{bzl:target} current_py_cc_libs 20 21A convenience target that provides the Python libraries. It uses toolchain 22resolution to find the libraries for the Python runtime matching the interpreter 23that will be used. This basically forwards the underlying 24`cc_library(name="libpython")` target defined in the `@python_X_Y` repo. 25 26This target provides: 27 28* `CcInfo`: The C++ information about the Python libraries. 29::: 30 31:::{bzl:target} toolchain_type 32 33Toolchain type identifier for the Python C toolchain. 34 35This toolchain type is typically implemented by {obj}`py_cc_toolchain`. 36 37::::{seealso} 38{any}`Custom Toolchains` for how to define custom toolchains 39:::: 40 41::: 42