Skip to content

Build script should be rerun when input environment variables are changed #2

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
Osspial opened this issue Aug 5, 2020 · 0 comments

Comments

@Osspial
Copy link
Contributor

Osspial commented Aug 5, 2020

We used to do this, but that behavior was disabled in 942d853 because it doesn't play well with setting environment variables in cargo make and trying to use rust-analyzer at the same time. cargo make would set the environment variables and do a successful build, but when rust-analyzer would run cargo check it would force cef-sys and all dependencies to be rebuilt since it didn't have the environment variables set.

Relevant issues:
rust-lang/cargo#6834
rust-lang/cargo#4001

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

No branches or pull requests

1 participant