Skip to content

Commit 22b096b

Browse files
authored
Don't recommend building the compiler for running tests on the standard library (#887)
Thought of this while reading https://internals.rust-lang.org/t/contributing-changes-to-std/12829/.
1 parent 2a09b06 commit 22b096b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/running.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,19 @@ Likewise, you can test a single file by passing its path:
6868
### Run tests on the standard library
6969

7070
```bash
71-
./x.py test library/std
71+
./x.py test --stage 0 library/std
7272
```
7373

7474
### Run the tidy script and tests on the standard library
7575

7676
```bash
77-
./x.py test tidy library/std
77+
./x.py test --stage 0 tidy library/std
7878
```
7979

8080
### Run tests on the standard library using a stage 1 compiler
8181

8282
```bash
83-
> ./x.py test library/std
83+
./x.py test library/std
8484
```
8585

8686
By listing which test suites you want to run you avoid having to run

0 commit comments

Comments
 (0)