-
Notifications
You must be signed in to change notification settings - Fork 63
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
build.rs script is missing rerun-if-env-changed indicators #101
Comments
Do you have a reproduce repo? |
Sure, just use jemalloc in an otherwise empty new binary crate Then add
and
Now jemalloc should be re-built and stats printed when you do |
Perhaps it's an issue about your setup or cargo itself, I can see jemalloc-sys does respect environment variable changes:
|
Those are not the reproduction steps I mentioned. |
The
build.rs
script for jemallocator should outputcargo::rerun-if-env-changed=VAR
for each variable that its behavior depends on. One example where this currently goes wrong is if you specify environment variables in the[env]
section of.cargo/config.toml
and then change them.The text was updated successfully, but these errors were encountered: