Message ID | 20230522-crates-io-v1-1-42eeee775eb6@linaro.org |
---|---|
State | New |
Headers | show |
Series | bindings: rust: allow packaging of libgpiod-sys | expand |
On 23-05-23, 13:25, Erik Schilling wrote: > This is a relict from old Rust standards and no longer requires [1]. > > [1] https://doc.rust-lang.org/edition-guide/rust-2018/path-changes.html#no-more-extern-crate > > Signed-off-by: Erik Schilling <erik.schilling@linaro.org> > --- > bindings/rust/libgpiod-sys/build.rs | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/bindings/rust/libgpiod-sys/build.rs b/bindings/rust/libgpiod-sys/build.rs > index e3ed04a..b1333f1 100644 > --- a/bindings/rust/libgpiod-sys/build.rs > +++ b/bindings/rust/libgpiod-sys/build.rs > @@ -2,8 +2,6 @@ > // SPDX-FileCopyrightText: 2022 Linaro Ltd. > // SPDX-FileCopyrightTest: 2022 Viresh Kumar <viresh.kumar@linaro.org> > > -extern crate bindgen; > - > use std::env; > use std::path::PathBuf; Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
diff --git a/bindings/rust/libgpiod-sys/build.rs b/bindings/rust/libgpiod-sys/build.rs index e3ed04a..b1333f1 100644 --- a/bindings/rust/libgpiod-sys/build.rs +++ b/bindings/rust/libgpiod-sys/build.rs @@ -2,8 +2,6 @@ // SPDX-FileCopyrightText: 2022 Linaro Ltd. // SPDX-FileCopyrightTest: 2022 Viresh Kumar <viresh.kumar@linaro.org> -extern crate bindgen; - use std::env; use std::path::PathBuf;
This is a relict from old Rust standards and no longer requires [1]. [1] https://doc.rust-lang.org/edition-guide/rust-2018/path-changes.html#no-more-extern-crate Signed-off-by: Erik Schilling <erik.schilling@linaro.org> --- bindings/rust/libgpiod-sys/build.rs | 2 -- 1 file changed, 2 deletions(-)