Skip to content

Commit d15138a

Browse files
committed
test src/test/ui and test compiler/rustc run different compilers
😢
1 parent 4247800 commit d15138a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/building/bootstrapping.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ The convention `x.py` uses is that:
141141
- `x.py test --stage 0 library/std` means to run tests on the standard library
142142
without building `rustc` from source ('build with stage 0, then test the artifacts').
143143
- `x.py test --stage 0 src/test/ui` is not meaningful: it runs tests on the
144-
_beta_ compiler and doesn't build `rustc` from source.
144+
_beta_ compiler and doesn't build `rustc` from source. Use `test src/test/ui` instead, which builds from source.
145+
- `x.py test --stage 0 compiler/rustc` builds the compiler but runs no tests: it's running `cargo test -p rustc`, but cargo doesn't understand Rust's tests. You shouldn't need to use this, use `test` instead (without arguments).
145146

146147
### Building vs. Running
147148

0 commit comments

Comments
 (0)