rusty_ffmpeg icon indicating copy to clipboard operation
rusty_ffmpeg copied to clipboard

Take care of when should the bindings being regenerated

Open ldm0 opened this issue 4 years ago • 2 comments

Currently we doesn't pay much attention on when should the bindings being regenerated and when should the project being build. For example we need to take care of the pkg_confg::Config::env_var.

ldm0 avatar Jun 25 '20 19:06 ldm0

Blocked on the issue: https://github.com/rust-lang/cargo/issues/7432 Currently the project rebuilds constantly, the problem is my rust-analyzer uses cargo watch, and I uses cargo run with a different environment variable.

ldm0 avatar Nov 04 '20 03:11 ldm0

I worked around it by not listening to these environment variables. rusqlite took the same way: https://github.com/rusqlite/rusqlite/pull/627

ldm0 avatar Nov 04 '20 03:11 ldm0