Open
Description
I recently ran into a weird bug where my project would always rebuild main.rs even though I didn't change any of its files.
Turned out in build.rs
I had rerun-if-changed=PATH
set to a wrong PATH
, a PATH
that never was any file, which caused to trigger rebuilds every time.
Can we print a warning if the PATH
is empty, or are there cases where this could be intended?