bindings: rust: drop legacy extern crate syntax
authorErik Schilling <erik.schilling@linaro.org>
Wed, 24 May 2023 09:15:42 +0000 (11:15 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 24 May 2023 09:15:42 +0000 (11:15 +0200)
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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/rust/libgpiod-sys/build.rs

index d4825a924f81c4a1908954af5cd3010b9092da2f..0ac27301879849f5e2498c557c8e493152c37435 100644 (file)
@@ -2,8 +2,6 @@
 // SPDX-FileCopyrightText: 2022 Linaro Ltd.
 // SPDX-FileCopyrightText: 2022 Viresh Kumar <viresh.kumar@linaro.org>
 
-extern crate bindgen;
-
 use std::env;
 use std::path::PathBuf;