Re: [libgpiod][PATCH V9 1/8] bindings: rust: Add libgpiod-sys rust crate

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

 



On Mon, Nov 14, 2022 at 11:04 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> On 09-11-22, 10:07, Bartosz Golaszewski wrote:
> > On Mon, Nov 7, 2022 at 10:57 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> > >
> > > This adds libgpiod-sys rust crate, which provides FFI (foreign function
> > > interface) bindings for libgpiod APIs.
> > >
> > > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> > > ---
> > >  .gitignore                            |  5 ++++
> > >  bindings/rust/Cargo.toml              |  5 ++++
> > >  bindings/rust/libgpiod-sys/Cargo.toml | 20 +++++++++++++
> > >  bindings/rust/libgpiod-sys/build.rs   | 41 +++++++++++++++++++++++++++
> > >  bindings/rust/libgpiod-sys/src/lib.rs | 13 +++++++++
> > >  5 files changed, 84 insertions(+)
> > >  create mode 100644 bindings/rust/Cargo.toml
> > >  create mode 100644 bindings/rust/libgpiod-sys/Cargo.toml
> > >  create mode 100644 bindings/rust/libgpiod-sys/build.rs
> > >  create mode 100644 bindings/rust/libgpiod-sys/src/lib.rs
> > >
> > > diff --git a/.gitignore b/.gitignore
> > > index 6c08415b390d..9f2fcf440c5d 100644
> > > --- a/.gitignore
> > > +++ b/.gitignore
> > > @@ -35,3 +35,8 @@ stamp-h1
> > >  # profiling
> > >  *.gcda
> > >  *.gcno
> > > +
> > > +# Added by cargo
> > > +
> > > +target
> > > +Cargo.lock
> >
> > This should be put into bindings/rust/.gitignore
>
> Should I resend the series with this one change ? Or just an incremental fix is
> enough ?
>
> --
> viresh

I'll fix it locally.

Bart



[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