Skip to content

Commit 3022bf0

Browse files
authored
Add documentation for {{rust-src-base}} (rust-lang#2079)
1 parent 34a13c2 commit 3022bf0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tests/headers.md

+1
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ described below:
285285
- `{{build-base}}`: The base directory where the test's output goes. This is
286286
equivalent to `$TEST_BUILD_DIR` for [output normalization].
287287
- Example: `/path/to/rust/build/x86_64-unknown-linux-gnu/test/ui`
288+
- `{{rust-src-base}}`: The sysroot directory where libstd/libcore/... are located
288289
- `{{sysroot-base}}`: Path of the sysroot directory used to build the test.
289290
- Mainly intended for `ui-fulldeps` tests that run the compiler via API.
290291
- `{{target-linker}}`: Linker that would be passed to `-Clinker` for this test,

0 commit comments

Comments
 (0)