Skip to content

Commit 16e4c29

Browse files
committed
Document how to debug change detection events
This merely links to the FAQ which already explains this topic very well.
1 parent e23cf43 commit 16e4c29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/src/reference/build-scripts.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,9 @@ list of files controlled by the [`exclude` and `include` fields]). For most
328328
cases, this is not a good choice, so it is recommended that every build script
329329
emit at least one of the `rerun-if` instructions (described below). If these
330330
are emitted, then Cargo will only re-run the script if the given value has
331-
changed.
331+
changed. If Cargo is re-running the build scripts of your own crate or a
332+
dependency and you don't know why, see ["Why is Cargo rebuilding my code?" in the
333+
FAQ](../faq.md#why-is-cargo-rebuilding-my-code).
332334

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

0 commit comments

Comments
 (0)