Skip to content

Should output "cargo:rerun-if-env-changed=..." for all variables that affect compilation #318

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

Closed
glandium opened this issue May 16, 2018 · 1 comment

Comments

@glandium
Copy link
Contributor

Currently, if you have a build script that uses cc, and alter, one of, say, CC, CXX, CFLAGS, etc. nothing happens. Worse yet, cargo happily outputs warnings from a previous build with the old environment variables, making you think something was rebuilt when that's not the case.

@alexcrichton
Copy link
Member

I believe this is a duplicate of #230, so closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants