about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/doc/rustc-dev-guide/src/tests/headers.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/headers.md b/src/doc/rustc-dev-guide/src/tests/headers.md
index 30af63fa771..51d422a3cfa 100644
--- a/src/doc/rustc-dev-guide/src/tests/headers.md
+++ b/src/doc/rustc-dev-guide/src/tests/headers.md
@@ -285,6 +285,7 @@ described below:
 - `{{build-base}}`: The base directory where the test's output goes. This is
   equivalent to `$TEST_BUILD_DIR` for [output normalization].
   - Example: `/path/to/rust/build/x86_64-unknown-linux-gnu/test/ui`
+- `{{rust-src-base}}`: The sysroot directory where libstd/libcore/... are located
 - `{{sysroot-base}}`: Path of the sysroot directory used to build the test.
   - Mainly intended for `ui-fulldeps` tests that run the compiler via API.
 - `{{target-linker}}`: Linker that would be passed to `-Clinker` for this test,