about summary refs log tree commit diff
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-07-15 17:25:30 +0800
committerGitHub <noreply@github.com>2025-07-15 17:25:30 +0800
commit8ec7e6fdeea6a6b98d7924162215ece7f7cfcdb1 (patch)
treeb3b7ca4897cd681dcc844e03b5a736b9f87f0dbf
parent39f269c305485f5f7c3bb50bbacc4813863f3fe5 (diff)
parent7803c25deaa3f330a952a18c7c3d5ea3850e9ff7 (diff)
downloadrust-8ec7e6fdeea6a6b98d7924162215ece7f7cfcdb1.tar.gz
rust-8ec7e6fdeea6a6b98d7924162215ece7f7cfcdb1.zip
Merge pull request #2504 from lolbinarycat/lolbinarycat-patch-2
-rw-r--r--src/doc/rustc-dev-guide/src/tests/directives.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/directives.md b/src/doc/rustc-dev-guide/src/tests/directives.md
index 839076b809d..63aa08c389c 100644
--- a/src/doc/rustc-dev-guide/src/tests/directives.md
+++ b/src/doc/rustc-dev-guide/src/tests/directives.md
@@ -59,7 +59,7 @@ not be exhaustive. Directives can generally be found by browsing the
 | `aux-crate`           | Like `aux-build` but makes available as extern prelude                                                | All except `run-make` | `<extern_prelude_name>=<path/to/aux/file.rs>` |
 | `aux-codegen-backend` | Similar to `aux-build` but pass the compiled dylib to `-Zcodegen-backend` when building the main file | `ui-fulldeps`         | Path to codegen backend file                  |
 | `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       |
-| `build-aux-docs`      | Build docs for auxiliaries as well                                                                    | All except `run-make` | N/A                                           |
+| `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                                           |
 
 [^pm]: please see the Auxiliary proc-macro section in the
     [compiletest](./compiletest.md) chapter for specifics.