On Wed, Jul 27, 2022 at 10:45:29AM +0530, Viresh Kumar wrote:
On 27-07-22, 10:57, Kent Gibson wrote:
On Fri, Jul 08, 2022 at 05:04:55PM +0530, Viresh Kumar wrote:
+## Updating bindings +1. Clone the source from
+2. run `cd libgpiod/bindings/rust/libgpiod-sys/` +2. run `cargo build --features generate` +3. Commit changes in `src/bindings.rs`
Those instructions do not force the regeneration of the bindings.
It does, just that the new file that got generated lands somewhere like this:
target/debug/build/libgpiod-sys-769f98853e1c0550/out/bindings.rs
and the end user crate will use this instead of the one in src/.
But the instructions don't mention any of that, and the implication is that src/bindings.rs will be regenerated.
Cheers, Kent.