I have a crate with build.rs, how to ignore some subfolders to not trigger rebuild when changed

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.


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.