arrayfire / arrayfire-rust

Rust wrapper for ArrayFire
BSD 3-Clause "New" or "Revised" License
810 stars 58 forks source link

Rerun build script when `AF_PATH` changes #307

Closed phil-opp closed 2 years ago

phil-opp commented 2 years ago

This would have saved as a lot of debugging after moving the arrayfire folder (it only worked after a cargo clean).

See https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-env-changed for background info.

9prady9 commented 2 years ago

Thank you for the contribution. This definitely helps in those cases.