Function cfg_rust_features::emit_rerun_if_changed_file
source · pub fn emit_rerun_if_changed_file(filename: &str)
Expand description
Tell Cargo to not default to scanning the entire package directory for changes, but to check only given files, when deciding if a build script needs to be rerun.
Intended to be called from a package’s build script.