Re: Broken build with rust bindings (without --enable-tests)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux