1 | [package] |
2 | name = "libc" |
3 | version = "0.2.153" |
4 | authors = ["The Rust Project Developers" ] |
5 | license = "MIT OR Apache-2.0" |
6 | readme = "README.md" |
7 | repository = "https://github.com/rust-lang/libc" |
8 | homepage = "https://github.com/rust-lang/libc" |
9 | documentation = "https://docs.rs/libc/" |
10 | keywords = ["libc" , "ffi" , "bindings" , "operating" , "system" ] |
11 | categories = ["external-ffi-bindings" , "no-std" , "os" ] |
12 | build = "build.rs" |
13 | exclude = ["/ci/*" , "/.github/*" , "/.cirrus.yml" , "/triagebot.toml" ] |
14 | description = "" " |
15 | Raw FFI bindings to platform libraries like libc. |
16 | " "" |
17 | |
18 | [package.metadata.docs.rs] |
19 | features = ["const-extern-fn" , "extra_traits" ] |
20 | default-target = "x86_64-unknown-linux-gnu" |
21 | targets = [ |
22 | "aarch64-apple-darwin" , |
23 | "aarch64-apple-ios" , |
24 | "aarch64-linux-android" , |
25 | "aarch64-pc-windows-msvc" , |
26 | "aarch64-unknown-freebsd" , |
27 | "aarch64-unknown-fuchsia" , |
28 | "aarch64-unknown-hermit" , |
29 | "aarch64-unknown-linux-gnu" , |
30 | "aarch64-unknown-linux-musl" , |
31 | "aarch64-unknown-netbsd" , |
32 | "aarch64-unknown-openbsd" , |
33 | "aarch64-wrs-vxworks" , |
34 | "arm-linux-androideabi" , |
35 | "arm-unknown-linux-gnueabi" , |
36 | "arm-unknown-linux-gnueabihf" , |
37 | "arm-unknown-linux-musleabi" , |
38 | "arm-unknown-linux-musleabihf" , |
39 | "armebv7r-none-eabi" , |
40 | "armebv7r-none-eabihf" , |
41 | "armv5te-unknown-linux-gnueabi" , |
42 | "armv5te-unknown-linux-musleabi" , |
43 | "armv7-linux-androideabi" , |
44 | "armv7-unknown-linux-gnueabihf" , |
45 | "armv7-unknown-linux-musleabihf" , |
46 | "armv7-wrs-vxworks-eabihf" , |
47 | "armv7r-none-eabi" , |
48 | "armv7r-none-eabihf" , |
49 | "hexagon-unknown-linux-musl" , |
50 | "i586-pc-windows-msvc" , |
51 | "i586-unknown-linux-gnu" , |
52 | "i586-unknown-linux-musl" , |
53 | "i686-linux-android" , |
54 | "i686-pc-windows-gnu" , |
55 | "i686-pc-windows-msvc" , |
56 | "i686-pc-windows-msvc" , |
57 | "i686-unknown-freebsd" , |
58 | "i686-unknown-haiku" , |
59 | "i686-unknown-linux-gnu" , |
60 | "i686-unknown-linux-musl" , |
61 | "i686-unknown-netbsd" , |
62 | "i686-unknown-openbsd" , |
63 | "i686-wrs-vxworks" , |
64 | "mips-unknown-linux-gnu" , |
65 | "mips-unknown-linux-musl" , |
66 | "mips64-unknown-linux-gnuabi64" , |
67 | "mips64-unknown-linux-muslabi64" , |
68 | "mips64el-unknown-linux-gnuabi64" , |
69 | "mips64el-unknown-linux-muslabi64" , |
70 | "mipsel-sony-psp" , |
71 | "mipsel-unknown-linux-gnu" , |
72 | "mipsel-unknown-linux-musl" , |
73 | "nvptx64-nvidia-cuda" , |
74 | "powerpc-unknown-linux-gnu" , |
75 | "powerpc-unknown-linux-gnuspe" , |
76 | "powerpc-unknown-netbsd" , |
77 | "powerpc-wrs-vxworks" , |
78 | "powerpc-wrs-vxworks-spe" , |
79 | "powerpc64-unknown-freebsd" , |
80 | "powerpc64-unknown-linux-gnu" , |
81 | "powerpc64-wrs-vxworks" , |
82 | "powerpc64le-unknown-linux-gnu" , |
83 | "riscv32gc-unknown-linux-gnu" , |
84 | "riscv32i-unknown-none-elf" , |
85 | "riscv32imac-unknown-none-elf" , |
86 | "riscv32imc-unknown-none-elf" , |
87 | "riscv64gc-unknown-freebsd" , |
88 | "riscv64gc-unknown-hermit" , |
89 | "riscv64gc-unknown-linux-gnu" , |
90 | "riscv64gc-unknown-linux-musl" , |
91 | "riscv64gc-unknown-none-elf" , |
92 | "riscv64imac-unknown-none-elf" , |
93 | "s390x-unknown-linux-gnu" , |
94 | "s390x-unknown-linux-musl" , |
95 | "sparc-unknown-linux-gnu" , |
96 | "sparc64-unknown-linux-gnu" , |
97 | "sparc64-unknown-netbsd" , |
98 | "sparcv9-sun-solaris" , |
99 | "thumbv6m-none-eabi" , |
100 | "thumbv7em-none-eabi" , |
101 | "thumbv7em-none-eabihf" , |
102 | "thumbv7m-none-eabi" , |
103 | "thumbv7neon-linux-androideabi" , |
104 | "thumbv7neon-unknown-linux-gnueabihf" , |
105 | "wasm32-unknown-emscripten" , |
106 | "wasm32-unknown-unknown" , |
107 | "wasm32-wasi" , |
108 | "x86_64-apple-darwin" , |
109 | "x86_64-apple-ios" , |
110 | "x86_64-fortanix-unknown-sgx" , |
111 | "x86_64-linux-android" , |
112 | "x86_64-pc-solaris" , |
113 | "x86_64-pc-windows-gnu" , |
114 | "x86_64-pc-windows-msvc" , |
115 | "x86_64-unknown-dragonfly" , |
116 | "x86_64-unknown-freebsd" , |
117 | "x86_64-unknown-fuchsia" , |
118 | "x86_64-unknown-haiku" , |
119 | "x86_64-unknown-hermit" , |
120 | "x86_64-unknown-illumos" , |
121 | "x86_64-unknown-l4re-uclibc" , |
122 | "x86_64-unknown-linux-gnu" , |
123 | "x86_64-unknown-linux-gnux32" , |
124 | "x86_64-unknown-linux-musl" , |
125 | "x86_64-unknown-netbsd" , |
126 | "x86_64-unknown-openbsd" , |
127 | "x86_64-unknown-redox" , |
128 | "x86_64-wrs-vxworks" |
129 | ] |
130 | cargo-args = ["-Zbuild-std=core" ] |
131 | |
132 | [dependencies] |
133 | rustc-std-workspace-core = { version = "1.0.0" , optional = true } |
134 | |
135 | [features] |
136 | default = ["std" ] |
137 | std = [] |
138 | align = [] |
139 | rustc-dep-of-std = ['align' , 'rustc-std-workspace-core' ] |
140 | extra_traits = [] |
141 | const-extern-fn = [] |
142 | # use_std is deprecated, use `std` instead |
143 | use_std = ['std' ] |
144 | |
145 | [workspace] |
146 | members = ["libc-test" ] |
147 | |