Skip to content

Commit

Permalink
Document how to debug change detection events
Browse files Browse the repository at this point in the history
This merely links to the FAQ which already explains this
topic very well.
  • Loading branch information
svenstaro committed May 27, 2022
1 parent e23cf43 commit 16e4c29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/doc/src/reference/build-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ list of files controlled by the [`exclude` and `include` fields]). For most
cases, this is not a good choice, so it is recommended that every build script
emit at least one of the `rerun-if` instructions (described below). If these
are emitted, then Cargo will only re-run the script if the given value has
changed.
changed. If Cargo is re-running the build scripts of your own crate or a
dependency and you don't know why, see ["Why is Cargo rebuilding my code?" in the
FAQ](../faq.md#why-is-cargo-rebuilding-my-code).

[`exclude` and `include` fields]: manifest.md#the-exclude-and-include-fields

Expand Down

0 comments on commit 16e4c29

Please sign in to comment.