fts_sys/
lib.rs

1#![doc = include_str!("../README.md")]
2#![doc(html_root_url = "https://docs.rs/fts-sys/0.2.17")]
3#![cfg(any(
4    // This list must be kept synchronized with the check in `build.rs`.
5    target_os = "android",
6    target_os = "dragonfly",
7    target_os = "freebsd",
8    target_os = "hurd",
9    target_os = "linux",
10    target_os = "macos",
11    target_os = "netbsd",
12    target_os = "openbsd",
13))]
14#![warn(unsafe_op_in_unsafe_fn)]
15#![allow(
16    non_upper_case_globals,
17    non_camel_case_types,
18    non_snake_case,
19    clippy::redundant_static_lifetimes
20)]
21
22#[cfg(test)]
23mod tests;
24
25#[allow(unused_imports)]
26use libc::{dev_t, ino_t, nlink_t, stat};
27
28#[repr(C)]
29#[derive(Debug)]
30pub struct FTS {
31    _unused: [u8; 0],
32}
33
34include!(concat!(env!("OUT_DIR"), "/fts-sys.rs"));