Add wiring pi (for test and doc)

This commit is contained in:
Tobias Reisinger 2022-04-15 02:11:34 +02:00
parent e157a5d02d
commit 53c6fcd917
4 changed files with 29 additions and 0 deletions

4
build.rs Normal file
View file

@ -0,0 +1,4 @@
fn main() {
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
println!("cargo:rustc-link-lib=dylib=wiringPi");
}