fernandobatels / rsfbclient

Rust Firebird Client
MIT License
74 stars 10 forks source link

rsfbclient and rsfbclient-native are always recompiled #113

Closed rfx77 closed 3 years ago

rfx77 commented 3 years ago

when i do a cargo run, even if i changed nothing, rsfbclient and rsfbclient-native are always recompiled. i am using windows10.

this is caused by the build.rs file in rsfbclient-native line 17:

17:  println!("cargo:rerun-if-changed=src/tests/mod.rs");

There is no directory tests and no file tests/mod.rs so this always fires and causes the recompilation. when i comment this lie out everything works

fernandobatels commented 3 years ago

I will check this later. It appears to be a residue from the old project directory format.

Thanks for your report. If you wish, you can open a PR to fix this.