Function rsconf::rebuild_if_path_changed
source ยท pub fn rebuild_if_path_changed(path: &str)
Expand description
Instruct Cargo to rerun the build script if the provided path changes.
Change detection is based off the modification time (mtime). If the path is to a directory, the build script is re-run if any files under that directory are modified.
By default, Cargo reruns the build script if any file in the source tree is modified. To make it
ignore changes, specify a file. To make it ignore all changes, call this with "build.rs"
as
the target.