From abd7ea6502ce069cde13b96e0389668ef6c41be7 Mon Sep 17 00:00:00 2001 From: Urgau <3616612+Urgau@users.noreply.github.com> Date: Sun, 29 Sep 2024 14:21:45 +0200 Subject: [PATCH] Add documentation for `{{rust-src-base}}` (#2079) --- src/tests/headers.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/headers.md b/src/tests/headers.md index 30af63fa7..51d422a3c 100644 --- a/src/tests/headers.md +++ b/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,