On Wed, Apr 19, 2023 at 9:28 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote: > > I earlier thought that if I am doing "cargo build" without "--tests" > or "--examples", then dev-dependencies are not built. I was wrong. No, it will not get built. If you do `cargo build` on `libgpiod`, then it works. The problem is in the `Makefile.am`s instead -- `make` is told to go into all of the crates and run `cargo build` for each: SUBDIRS = gpiosim-sys libgpiod libgpiod-sys Cheers, Miguel