Skip to content
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 always recompiling #390

Closed
twantonie opened this issue Nov 4, 2022 · 1 comment
Closed

Crate always recompiling #390

twantonie opened this issue Nov 4, 2022 · 1 comment

Comments

@twantonie
Copy link

Including the PATH variable in ENV_VARS of the build.rs script is causing my workflow to pretty much continuously recompile opencv. I'd suggest reverting commit 94b0d1e since the PATH variable isn't actually used in the building of opencv.

For context my workflow is as follows:

  • Make changes in vscode
  • cargo check runs after saving
  • run cargo build in the console

Since vscode uses a different path environment than my console the opencv-rust crate recompiles every single time, costing me quite a bit of development time (on my reasonably chunky pc compiling opencv-rust takes at least 30 seconds).

I'll be downgrading to version 0.69.0 to avoid this issue, but I'd thought I'd mention it here for other people noticing the same thing.

@twistedfall
Copy link
Owner

Thanks for the report, it should be fixed in v0.72.1!

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