Skip to content

Commit 86144dd

Browse files
mondejagdesmott
authored andcommitted
Add cargo:rerun-if-changed=Cargo.toml to config probe
1 parent c5f8d11 commit 86144dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,8 @@ impl Config {
735735
let mut path = PathBuf::from(dir);
736736
path.push("Cargo.toml");
737737

738+
println!("cargo:rerun-if-changed={}", &path.to_string_lossy());
739+
738740
let metadata = MetaData::from_file(&path)?;
739741

740742
let mut libraries = Dependencies::default();

0 commit comments

Comments
 (0)