]> git.proxmox.com Git - cargo.git/commit
Auto merge of #10708 - svenstaro:patch-1, r=weihanglo
authorbors <bors@rust-lang.org>
Fri, 27 May 2022 12:35:25 +0000 (12:35 +0000)
committerbors <bors@rust-lang.org>
Fri, 27 May 2022 12:35:25 +0000 (12:35 +0000)
commite0e1df99f60667f7bcf6ef3c2963e3ae19b56e60
tree5a8c177f52ea92cc1924051cc57ed1201db84275
parente23cf4393fd2e5781a7613e65fd0303578c3db21
parent16e4c29587e9a0fb7e2d2ded6759fb5a8e5e6785
Auto merge of #10708 - svenstaro:patch-1, r=weihanglo

Document how to debug change detection events

### What does this PR try to resolve?

I noticed that my build would sometimes seemingly randomly rebuild other crates. I figured this must be the build script detecting a change in some external files. In order to debug this, I figured I'd look at the Cargo sources whether something like this was already being logged. Thankfully, the logging for this was already in place but I didn't find it documented anyway so I thought it might be rather helpful in such scenarios.

I believe it's a common enough scenario that inclusion into the official documentation on this topic should be considered.

### How should we test and review this PR?

Build/view documentation.

### Additional information