From: Erik Schilling Date: Wed, 24 May 2023 09:15:42 +0000 (+0200) Subject: bindings: rust: drop legacy extern crate syntax X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a49fa67df4570a0b624459af53388cf664c77c68;p=qemu-gpiodev%2Flibgpiod.git bindings: rust: drop legacy extern crate syntax 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 Acked-by: Viresh Kumar Signed-off-by: Bartosz Golaszewski --- diff --git a/bindings/rust/libgpiod-sys/build.rs b/bindings/rust/libgpiod-sys/build.rs index d4825a9..0ac2730 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-FileCopyrightText: 2022 Viresh Kumar -extern crate bindgen; - use std::env; use std::path::PathBuf;