If the cargo:rerun-if-change condition in build.rs is properly set, the necessary parts can be rebuilt without having to manually clean them during the build process to reflect changes.
Currently, some code, such as the cpp shims, is not reflected even when changes are made, so this change appears necessary.
If the
cargo:rerun-if-changecondition inbuild.rsis properly set, the necessary parts can be rebuilt without having to manually clean them during the build process to reflect changes.Currently, some code, such as the cpp shims, is not reflected even when changes are made, so this change appears necessary.