Description
This is fairly easy to reproduce:
./x.py test miri --stage 0 --test-args hello
./x.py test miri --stage 0 --test-args hello
(The --test-args
just serves to make this take less long.)
The second command shouldn't have to build anything, just run the tests. But somehow it actually rebuilds miri, cargo-miri, and rustdoc.
This is a recent regression introduced by #123028. Somehow building rustdoc seems to destroy the build cache for miri and cargo-miri, and vice versa.
Cc @onur-ozkan