Some types of source code need not to trigger a rebuild. How to set up the build.rs?
You can control this by printing rerun-if-changed=PATH
and/or rerun-if-env-changed=VAR
.
https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script
1 Like
Thinks, it works, but I think what i need is something like 'rerun-exclude'. It is more acceptable, as I don't need read the default rules.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.