about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-12 18:35:24 +0000
committerbors <bors@rust-lang.org>2024-05-12 18:35:24 +0000
commite4f81d1bb28095d06ce4e21f11683021999aa0e1 (patch)
treeb858a816c861f39e70bbf13c7ece1e1d152daea8 /tests/ui/patchable-function-entry
parent75d531d18c2402ff62060ba475d3d4f696d77e12 (diff)
parentcd7527aa35f3eca2fa00a6d21cdeb9c56de1f480 (diff)
downloadrust-e4f81d1bb28095d06ce4e21f11683021999aa0e1.tar.gz
rust-e4f81d1bb28095d06ce4e21f11683021999aa0e1.zip
Auto merge of #3599 - saethlin:quiet-when-no-change, r=RalfJung
Don't print unnecessary sysroot messages

Currently, when running `cargo miri setup`, we always print that a sysroot is being prepared, even if we just bail out of building after checking the hash. So that message is wrong; we didn't actually prepare a sysroot.

We also always print the preparing message for `cargo miri run`, even if no sysroot is prepared.

With this PR, `cargo miri run` prints no sysroot messages when an existing one is reused, and when a redundant `cargo miri setup` is requested, we print:
```
A sysroot for Miri is already available in `/home/ben/.cache/miri`.
```
Diffstat (limited to 'tests/ui/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions