We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b062c commit 67dba98Copy full SHA for 67dba98
tools/python/toolchain.bzl
@@ -42,11 +42,11 @@ def _py_runtime_pair_impl(ctx):
42
py_runtime_pair = rule(
43
implementation = _py_runtime_pair_impl,
44
attrs = {
45
- "py2_runtime": attr.label(providers = [PyRuntimeInfo], doc = """\
+ "py2_runtime": attr.label(providers = [PyRuntimeInfo], cfg = "exec", doc = """\
46
The runtime to use for Python 2 targets. Must have `python_version` set to
47
`PY2`.
48
"""),
49
- "py3_runtime": attr.label(providers = [PyRuntimeInfo], doc = """\
+ "py3_runtime": attr.label(providers = [PyRuntimeInfo], cfg = "exec", doc = """\
50
The runtime to use for Python 3 targets. Must have `python_version` set to
51
`PY3`.
52
0 commit comments