Add back example of {{cwd}} (#1099)

I force-pushed this in the last commit and accidentally deleted the
github suggestion.
This commit is contained in:
Joshua Nelson 2021-03-31 15:04:46 -04:00 committed by GitHub
parent a05852eec0
commit dda441c42e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ are replaced in header inputs:
- {{cwd}}: The directory where compiletest is run from. This may not be the
root of the checkout, so you should avoid using it where possible.
- Example: `/path/to/rust`
- Examples: `/path/to/rust`, `/path/to/build/root`
- {{src-base}}: The directory where the test is defined. This is equivalent to
`$DIR` for output normalization.
- Example: `/path/to/rust/src/test/ui/error-codes`