[package] name = "libc-test" version = "0.2.155" edition = "2021" authors = ["The Rust Project Developers"] license = "MIT OR Apache-2.0" build = "build.rs" publish = false repository = "https://github.com/rust-lang/libc" homepage = "https://github.com/rust-lang/libc" description = """ A test crate for the libc crate. """ [dependencies] cfg-if = "1.0.0" libc = { path = "..", version = "0.2.171", default-features = false } [dev-dependencies] syn = { version = "2.0.91", features = ["full", "visit"] } proc-macro2 = { version = "1.0.92", features = ["span-locations"] } glob = "0.3.2" annotate-snippets = { version = "0.11.5", features = ["testing-colors"] } [build-dependencies] cc = "1.0.83" # FIXME: Use fork ctest until the maintainer gets back. ctest2 = "0.4.3" regex = "1.11.1" [features] default = ["std"] std = ["libc/std"] align = ["libc/align"] extra_traits = ["libc/extra_traits"] [[test]] name = "main" path = "test/main.rs" harness = false [[test]] name = "linux-fcntl" path = "test/linux_fcntl.rs" harness = false [[test]] name = "linux-if-arp" path = "test/linux_if_arp.rs" harness = false [[test]] name = "linux-ipv6" path = "test/linux_ipv6.rs" harness = false [[test]] name = "linux-elf" path = "test/linux_elf.rs" harness = false [[test]] name = "linux-strerror_r" path = "test/linux_strerror_r.rs" harness = false [[test]] name = "linux-termios" path = "test/linux_termios.rs" harness = false [[test]] name = "cmsg" path = "test/cmsg.rs" harness = true [[test]] name = "makedev" path = "test/makedev.rs" harness = true [[test]] name = "errqueue" path = "test/errqueue.rs" harness = true [[test]] name = "sigrt" path = "test/sigrt.rs" harness = true [[test]] name = "semver" path = "test/semver.rs" harness = false [[test]] name = "primitive_types" path = "test/primitive_types.rs" harness = true [[test]] name = "style" path = "test/check_style.rs" harness = true [[test]] name = "style_tests" path = "test/style_tests.rs" harness = true