Skip to content

Commit cab1643

Browse files
authored
improve linking in the "Auxilirary builds" section of directive index
1 parent bfdef36 commit cab1643

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/doc/rustc-dev-guide/src/tests/directives.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ not be exhaustive. Directives can generally be found by browsing the
5252

5353
### Auxiliary builds
5454

55+
See [Building auxiliary crates](compiletest.html#building-auxiliary-crates)
56+
5557
| Directive | Explanation | Supported test suites | Possible values |
5658
|-----------------------|-------------------------------------------------------------------------------------------------------|-----------------------|-----------------------------------------------|
5759
| `aux-bin` | Build a aux binary, made available in `auxiliary/bin` relative to test directory | All except `run-make` | Path to auxiliary `.rs` file |
@@ -61,8 +63,7 @@ not be exhaustive. Directives can generally be found by browsing the
6163
| `proc-macro` | Similar to `aux-build`, but for aux forces host and don't use `-Cprefer-dynamic`[^pm]. | All except `run-make` | Path to auxiliary proc-macro `.rs` file |
6264
| `build-aux-docs` | Build docs for auxiliaries as well. Note that this only works with `aux-build`, not `aux-crate`. | All except `run-make` | N/A |
6365

64-
[^pm]: please see the Auxiliary proc-macro section in the
65-
[compiletest](./compiletest.md) chapter for specifics.
66+
[^pm]: please see the [Auxiliary proc-macro section](compiletest.html#auxiliary-proc-macro) in the compiletest chapter for specifics.
6667

6768
### Controlling outcome expectations
6869

0 commit comments

Comments
 (0)