Rollup merge of #143681 - RalfJung:bootstrap-miri-rebuilds, r=Kobzol

bootstrap/miri: avoid rebuilds for test builds

When building Miri in its own repo, we always build with `--all-targets`:
a009612691/src/tools/miri/miri-script/src/util.rs (L167-L174)
This saves a bunch of time since some of Miri's dependencies get more features enabled by some of Miri's dev-dependencies, and they all get built twice otherwise if you do `cargo build && cargo test` (which is typically what you end up doing inside `./miri test` and also inside `./x test miri`).

This applies the same approach to bootstrap, drastically reducing the edit-compile cycle for Miri work here. :)
This commit is contained in:
Jakub Beránek 2025-07-14 11:04:52 +02:00 committed by GitHub
commit 1251660bb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available