Skip to content

Commit 070aa43

Browse files
authored
docs: add xrefs for local toolchains rules (#2823)
This is to make it easier to find the API docs for the rules the docs talk about.
1 parent ee34409 commit 070aa43

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/toolchains.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,10 @@ runtime metadata (Python version, headers, ABI flags, etc) that the regular
339339
remotely downloaded runtimes contain, which makes it possible to build e.g. C
340340
extensions (unlike the autodetecting and runtime environment toolchains).
341341

342-
For simple cases, some rules are provided that will introspect
343-
a Python installation and create an appropriate Bazel definition from
344-
it. To do this, three pieces need to be wired together:
342+
For simple cases, the {obj}`local_runtime_repo` and
343+
{obj}`local_runtime_toolchains_repo` rules are provided that will introspect a
344+
Python installation and create an appropriate Bazel definition from it. To do
345+
this, three pieces need to be wired together:
345346

346347
1. Specify a path or command to a Python interpreter (multiple can be defined).
347348
2. Create toolchains for the runtimes in (1)

0 commit comments

Comments
 (0)