logitech_led_sdk_sys/
lib.rs

1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4#![allow(clippy::unreadable_literal)]
5
6#[cfg(not(any(target_os = "windows", feature = "rustdoc")))]
7compile_error!("this library will only work on Windows");
8
9#[cfg(not(any(target_env = "msvc", feature = "rustdoc")))]
10compile_error!("this library will only work on the MSVC target environment");
11
12#[cfg(not(any(target_arch = "x86_64", target_arch = "x86", feature = "rustdoc")))]
13compile_error!("this library will only work on x86 or x86_64");
14
15#[cfg(any(target_arch = "x86_64", feature = "rustdoc"))]
16include!("bindings-x86_64.rs");
17
18#[cfg(all(target_arch = "x86", not(feature = "rustdoc")))]
19include!("bindings-i686.rs");