Re: [PATCH V4 8/8] libgpiod: Integrate building of rust bindings with make

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

 



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



[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