True when the dashboard source inputs differ from the content stamp recorded by the previous build in this `OUT_DIR` - i.e. the sources genuinely changed rather than just having their mtimes rewritten by a `git checkout`/`pull`. A build with no recorded stamp (a fresh checkout, a clean target dir, or a crates.io build that ships only dist) returns false here; the dist-carried source stamp is chec
(current_stamp: Option<&str>)
| 196 | /// crates.io build that ships only dist) returns false here; the dist-carried |
| 197 | /// source stamp is checked separately before this OUT_DIR fallback is used. |
| 198 | fn dashboard_sources_changed(current_stamp: Option<&str>) -> bool { |
| 199 | let Some(current) = current_stamp else { |
| 200 | return false; |
| 201 | }; |
| 202 | match read_dashboard_source_stamp() { |
| 203 | Some(previous) => previous != current, |
| 204 | None => false, |
| 205 | } |
| 206 | } |
| 207 | |
| 208 | /// True when the committed/generated dist was built from a different set of |
| 209 | /// production sources. Unlike the OUT_DIR stamp, this survives `cargo clean` |
no test coverage detected