We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb69788 commit 9179f48Copy full SHA for 9179f48
src/tests/headers.md
@@ -280,6 +280,8 @@ described below:
280
- `{{build-base}}`: The base directory where the test's output goes. This is
281
equivalent to `$TEST_BUILD_DIR` for [output normalization].
282
- Example: `/path/to/rust/build/x86_64-unknown-linux-gnu/test/ui`
283
+- `{{target}}`: The target the test is compiling for
284
+ - Example: `x86_64-unknown-linux-gnu`
285
286
See [`tests/ui/commandline-argfile.rs`](https://github.com/rust-lang/rust/blob/master/tests/ui/commandline-argfile.rs)
287
for an example of a test that uses this substitution.
0 commit comments