-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crate is rebuilt on every build due to rerun-if-env-changed #220
Comments
Ran through debugging this with @joehoyle, this actually turns out to be due to: Line 240 in e6afecb
When this crate is loaded as a dependency, there's no local |
I've introduced that cargo flag recently, but I forgot to remove it. If you have the time, feel free to submit a PR to remove it! I'll be glad to merge it quickly. Thank you for this investigation |
Should we retain it behind a flag? Might be useful for debugging/development purposes. |
Let just remove it for the moment and see later if we can provide a better solution |
As mentioned in #210 (comment), every time I run
cargo check
etc then the ext-php-rs build script is run, due to the use ofrerun-if-env-changed
.I tracked it down specifically to the
PATH
env var --PHP
andPHP_CONFIG
don't cause issues (though those env vars are not set). My$PATH
is stable, so it's not like it's changing. (unless the build script it's self is setting something).The text was updated successfully, but these errors were encountered: