rusty_ffmpeg
                                
                                
                                
                                    rusty_ffmpeg copied to clipboard
                            
                            
                            
                        Take care of when should the bindings being regenerated
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.
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.
I worked around it by not listening to these environment variables. rusqlite took the same way: https://github.com/rusqlite/rusqlite/pull/627