Skip to content

Crate is rebuilt on every build due to rerun-if-env-changed #220

Closed
@joehoyle

Description

@joehoyle

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 of rerun-if-env-changed.

I tracked it down specifically to the PATH env var -- PHP and PHP_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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions