Re: [PATCH V2 1/4] libgpiod: Generate rust FFI bindings
From: Miguel Ojeda <hidden>
Date: 2021-12-17 10:38:37
From: Miguel Ojeda <hidden>
Date: 2021-12-17 10:38:37
On Fri, Dec 17, 2021 at 6:50 AM Viresh Kumar [off-list ref] wrote:
I don't have a strong preference either way, whatever works best. Miguel, any suggestions ?
Having optional pre-generated bindings may be good for some users, e.g. libsqlite3-sys does it. I guess the main question is whether you are willing to support/maintain it. Also consider cross-compilation. But I wouldn't only provide pre-generated ones if you are using `bindgen` anyway. In any case, I am not a Rust expert, so please take that with a grain of salt :) Cheers, Miguel