Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/libc/Cargo.toml.orig # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / libc / Cargo.toml.orig` 214 lines ยท 6440 bytes Raw Blame History 1 [package] 2 name = "libc" 3 version = "0.2.189" 4 keywords = ["libc", "ffi", "bindings", "operating", "system"] 5 categories = ["external-ffi-bindings", "no-std", "os"] 6 exclude = ["/ci/*", "/.github/*", "/triagebot.toml", "cherry-pick-stable.sh"] 7 description = "Raw FFI bindings to platform libraries like libc." 8 edition = "2021" 9 license = "MIT OR Apache-2.0" 10 repository = "https://github.com/rust-lang/libc" 11 rust-version = "1.65" 12 13 [package.metadata.docs.rs] 14 features = ["extra_traits"] 15 default-target = "x86_64-unknown-linux-gnu" 16 targets = [ 17 # Note: Keep this in sync with ci/verify-build.py 18 # 19 # Tier 1 20 "aarch64-apple-darwin", 21 "aarch64-pc-windows-msvc", 22 "aarch64-unknown-linux-gnu", 23 "i686-pc-windows-msvc", 24 "i686-unknown-linux-gnu", 25 "x86_64-pc-windows-gnu", 26 "x86_64-pc-windows-msvc", 27 "x86_64-unknown-linux-gnu", 28 # 29 # Tier 2 with host tools 30 "aarch64-pc-windows-gnullvm", 31 "aarch64-unknown-linux-musl", 32 "aarch64-unknown-linux-ohos", 33 "arm-unknown-linux-gnueabi", 34 "arm-unknown-linux-gnueabihf", 35 "armv7-unknown-linux-gnueabihf", 36 "armv7-unknown-linux-ohos", 37 "i686-pc-windows-gnu", 38 "loongarch64-unknown-linux-gnu", 39 "loongarch64-unknown-linux-musl", 40 "powerpc-unknown-linux-gnu", 41 "powerpc64-unknown-linux-gnu", 42 "powerpc64-unknown-linux-musl", 43 "powerpc64le-unknown-linux-gnu", 44 "powerpc64le-unknown-linux-musl", 45 "riscv64gc-unknown-linux-gnu", 46 "s390x-unknown-linux-gnu", 47 "sparcv9-sun-solaris", 48 "x86_64-apple-darwin", 49 "x86_64-pc-solaris", 50 "x86_64-pc-windows-gnullvm", 51 "x86_64-unknown-freebsd", 52 "x86_64-unknown-illumos", 53 "x86_64-unknown-linux-musl", 54 "x86_64-unknown-linux-ohos", 55 "x86_64-unknown-netbsd", 56 # 57 # Tier 2 without host tools 58 "aarch64-apple-ios", 59 "aarch64-apple-tvos", 60 "aarch64-apple-visionos", 61 "aarch64-apple-watchos", 62 "aarch64-linux-android", 63 "aarch64-unknown-fuchsia", 64 "arm-linux-androideabi", 65 "arm-unknown-linux-musleabi", 66 "arm-unknown-linux-musleabihf", 67 "arm64ec-pc-windows-msvc", 68 "armv5te-unknown-linux-gnueabi", 69 "armv5te-unknown-linux-musleabi", 70 "armv7-linux-androideabi", 71 "armv7-unknown-linux-musleabihf", 72 "i586-unknown-linux-gnu", 73 "i586-unknown-linux-musl", 74 "i686-linux-android", 75 "i686-unknown-freebsd", 76 "i686-unknown-linux-musl", 77 "nvptx64-nvidia-cuda", 78 "riscv64gc-unknown-linux-musl", 79 "sparc64-unknown-linux-gnu", 80 "thumbv7neon-linux-androideabi", 81 "thumbv7neon-unknown-linux-gnueabihf", 82 "wasm32-unknown-emscripten", 83 "wasm32-unknown-unknown", 84 "wasm32-wasip1", 85 "wasm32-wasip2", 86 "x86_64-fortanix-unknown-sgx", 87 "x86_64-linux-android", 88 "x86_64-unknown-fuchsia", 89 "x86_64-unknown-linux-gnux32", 90 "x86_64-unknown-redox", 91 # 92 # Tier 3 targets that are distinct enough to be useful, or have historically 93 # been documented. 94 "aarch64-unknown-freebsd", 95 "aarch64-unknown-hermit", 96 "aarch64-unknown-illumos", 97 "aarch64-unknown-netbsd", 98 "aarch64-unknown-qnx", 99 "aarch64-unknown-openbsd", 100 "aarch64-unknown-redox", 101 "aarch64-wrs-vxworks", 102 "aarch64_be-unknown-linux-gnu", 103 "aarch64_be-unknown-linux-musl", 104 "armebv7r-none-eabi", 105 "armebv7r-none-eabihf", 106 "armv7-linux-androideabi", 107 "armv7-wrs-vxworks-eabihf", 108 "armv7r-none-eabi", 109 "armv7r-none-eabihf", 110 "hexagon-unknown-linux-musl", 111 "i686-unknown-haiku", 112 "i686-unknown-netbsd", 113 "i686-unknown-openbsd", 114 "i686-wrs-vxworks", 115 "mips-unknown-linux-gnu", 116 "mips-unknown-linux-musl", 117 "mips64-unknown-linux-gnuabi64", 118 "mips64-unknown-linux-muslabi64", 119 "mips64el-unknown-linux-gnuabi64", 120 "mips64el-unknown-linux-muslabi64", 121 "mipsel-sony-psp", 122 "mipsel-unknown-linux-gnu", 123 "mipsel-unknown-linux-musl", 124 "powerpc-unknown-linux-gnuspe", 125 "powerpc-unknown-netbsd", 126 "powerpc-wrs-vxworks", 127 "powerpc-wrs-vxworks-spe", 128 "powerpc64-ibm-aix", 129 "powerpc64-unknown-freebsd", 130 "powerpc64-unknown-linux-gnu", 131 "powerpc64-wrs-vxworks", 132 "riscv32-wrs-vxworks", 133 "riscv32gc-unknown-linux-musl", 134 "riscv32i-unknown-none-elf", 135 "riscv32imac-unknown-none-elf", 136 "riscv32imc-unknown-none-elf", 137 "riscv64-wrs-vxworks", 138 "riscv64gc-unknown-freebsd", 139 "riscv64gc-unknown-hermit", 140 "riscv64gc-unknown-none-elf", 141 "riscv64imac-unknown-none-elf", 142 "s390x-unknown-linux-musl", 143 "sparc-unknown-linux-gnu", 144 "sparc64-unknown-netbsd", 145 "thumbv6m-none-eabi", 146 "thumbv7em-none-eabi", 147 "thumbv7em-none-eabihf", 148 "thumbv7m-none-eabi", 149 "wasm32-wasip3", 150 "x86_64-apple-ios", 151 "x86_64-pc-cygwin", 152 "x86_64-unknown-dragonfly", 153 "x86_64-unknown-haiku", 154 "x86_64-unknown-hermit", 155 "x86_64-unknown-hurd-gnu", 156 "x86_64-unknown-l4re-uclibc", 157 "x86_64-unknown-openbsd", 158 "x86_64-wrs-vxworks" 159 ] 160 cargo-args = ["-Zbuild-std=core"] 161 162 [dependencies] 163 rustc-std-workspace-core = { version = "1.0.1", optional = true } 164 165 [features] 166 default = ["std"] 167 std = [] 168 rustc-dep-of-std = ['align', 'rustc-std-workspace-core'] 169 extra_traits = [] 170 171 # `const-extern-function` is deprecated and no longer does anything 172 const-extern-fn = [] 173 174 # `align` is deprecated and no longer does anything 175 align = [] 176 177 # use_std is deprecated, use `std` instead 178 use_std = ['std'] 179 180 [workspace] 181 members = [ 182 "ctest", 183 "libc-test", 184 ] 185 186 [workspace.lints.rust] 187 # FIXME(cleanup): make ident usage consistent in each file 188 unused_qualifications = "allow" 189 190 [workspace.lints.clippy] 191 # Enable pedantic lints - use this manually once in a while, but don't enable by default 192 # pedantic = { level = "warn", priority = -1 } 193 194 # We are okay with the current state of these lints 195 explicit_iter_loop = "warn" 196 identity_op = "allow" # some expressions like `0 | x` are clearer for bit ops 197 manual_assert = "warn" 198 map_unwrap_or = "warn" 199 missing_safety_doc = "allow" # safety? in libc? seriously? 200 non_minimal_cfg = "allow" # for some reason cfg_if! sometimes trigger this 201 ptr_as_ptr = "warn" 202 unnecessary_semicolon = "warn" 203 204 # FIXME(clippy): these should be fixed if possible 205 unnecessary_cast = "allow" # some casts like `as usize` are only needed for some targets 206 207 [lints] 208 workspace = true 209 210 [package.metadata.cargo-semver-checks.lints] 211 # Alignment is an internal detail that users must not rely upon 212 repr_align_removed = "warn" 213 # We deprecate things all the time 214 global_value_marked_deprecated = "warn"