Skip to main content

bnd_linux/
lib.rs

1//! Rust FFI bindings for POSIX and Linux system APIs.
2//!
3//! Generated by `bnd-linux-gen` through the direct-Clang pipeline. Do not
4//! edit `src/libc/` manually.
5
6#![allow(
7    non_snake_case,
8    non_upper_case_globals,
9    non_camel_case_types,
10    dead_code,
11    clippy::all
12)]
13
14#[cfg(all(
15    target_os = "linux",
16    any(target_arch = "x86_64", target_arch = "aarch64"),
17    target_env = "gnu"
18))]
19pub mod libc;
20
21#[cfg(all(
22    target_os = "linux",
23    any(target_arch = "x86_64", target_arch = "aarch64"),
24    target_env = "gnu"
25))]
26extern crate bnd_macros as windows_link;