Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously `build.rs` wouldn't re-run if any asm was changed, whether in a PR like #534 or in a backporting PR, and this would often cause segfaults after unless we `cargo clean`ed or ran `touch build.rs`. This uses `cargo:rerun-if-changed=` to tell `cargo` what other sources we're using that it should use to determine if `build.rs` needs to rerun. Unfortunately, this can't do fine-grained caching at all and `nasm` if fairly slow, but that's okay, as at least it should always be correct now.
- Loading branch information