On 27-07-22, 14:45, Kent Gibson wrote: > On Wed, Jul 27, 2022 at 12:05:27PM +0530, Viresh Kumar wrote: > > On 27-07-22, 14:25, Kent Gibson wrote: > > > So you can't run tests on those platforms where bindgen is problematic? > > > > Specifically for my case, that environment (rust-vmm-container) never runs > > libgpiod tests, but just vhost-device/gpio tests. So it works. > > > > That may work for you, but in general it would be better if the tests > can be run even if the bindings can't be regenerated, so the two should > be independent. Hmm, then we can take the same approach as for gpiod.h bindings. Use pre-compiled ones unless "generate" feature is enabled. Will do. -- viresh