Add {{target}} to header substitutions
This commit is contained in:
parent
cf49c91585
commit
93acb2dd7f
|
|
@ -280,6 +280,8 @@ described below:
|
||||||
- `{{build-base}}`: The base directory where the test's output goes. This is
|
- `{{build-base}}`: The base directory where the test's output goes. This is
|
||||||
equivalent to `$TEST_BUILD_DIR` for [output normalization].
|
equivalent to `$TEST_BUILD_DIR` for [output normalization].
|
||||||
- Example: `/path/to/rust/build/x86_64-unknown-linux-gnu/test/ui`
|
- Example: `/path/to/rust/build/x86_64-unknown-linux-gnu/test/ui`
|
||||||
|
- `{{target}}`: The target the test is compiling for
|
||||||
|
- Example: `x86_64-unknown-linux-gnu`
|
||||||
|
|
||||||
See [`tests/ui/commandline-argfile.rs`](https://github.com/rust-lang/rust/blob/master/tests/ui/commandline-argfile.rs)
|
See [`tests/ui/commandline-argfile.rs`](https://github.com/rust-lang/rust/blob/master/tests/ui/commandline-argfile.rs)
|
||||||
for an example of a test that uses this substitution.
|
for an example of a test that uses this substitution.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue