xref: /aosp_15_r20/external/bazelbuild-rules_rust/bindgen/3rdparty/crates/BUILD.rustix-0.37.20.bazel (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1*d4726bddSHONG Yifan###############################################################################
2*d4726bddSHONG Yifan# @generated
3*d4726bddSHONG Yifan# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4*d4726bddSHONG Yifan# regenerate this file, run the following:
5*d4726bddSHONG Yifan#
6*d4726bddSHONG Yifan#     bazel run @//bindgen/3rdparty:crates_vendor
7*d4726bddSHONG Yifan###############################################################################
8*d4726bddSHONG Yifan
9*d4726bddSHONG Yifanload("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10*d4726bddSHONG Yifanload("@rules_rust//rust:defs.bzl", "rust_library")
11*d4726bddSHONG Yifan
12*d4726bddSHONG Yifanpackage(default_visibility = ["//visibility:public"])
13*d4726bddSHONG Yifan
14*d4726bddSHONG Yifanrust_library(
15*d4726bddSHONG Yifan    name = "rustix",
16*d4726bddSHONG Yifan    srcs = glob(
17*d4726bddSHONG Yifan        include = ["**/*.rs"],
18*d4726bddSHONG Yifan        allow_empty = True,
19*d4726bddSHONG Yifan    ),
20*d4726bddSHONG Yifan    aliases = select({
21*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-darwin": {
22*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
23*d4726bddSHONG Yifan        },
24*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-ios": {
25*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
26*d4726bddSHONG Yifan        },
27*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-ios-sim": {
28*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
29*d4726bddSHONG Yifan        },
30*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-fuchsia": {
31*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
32*d4726bddSHONG Yifan        },
33*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-linux-android": {
34*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
35*d4726bddSHONG Yifan        },
36*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": {
37*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(windows)
38*d4726bddSHONG Yifan        },
39*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": {
40*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
41*d4726bddSHONG Yifan        },
42*d4726bddSHONG Yifan        "@rules_rust//rust/platform:armv7-linux-androideabi": {
43*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
44*d4726bddSHONG Yifan        },
45*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-apple-darwin": {
46*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
47*d4726bddSHONG Yifan        },
48*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-linux-android": {
49*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
50*d4726bddSHONG Yifan        },
51*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-pc-windows-msvc": {
52*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(windows)
53*d4726bddSHONG Yifan        },
54*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-unknown-freebsd": {
55*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
56*d4726bddSHONG Yifan        },
57*d4726bddSHONG Yifan        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": {
58*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
59*d4726bddSHONG Yifan        },
60*d4726bddSHONG Yifan        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": {
61*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
62*d4726bddSHONG Yifan        },
63*d4726bddSHONG Yifan        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": {
64*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
65*d4726bddSHONG Yifan        },
66*d4726bddSHONG Yifan        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": {
67*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
68*d4726bddSHONG Yifan        },
69*d4726bddSHONG Yifan        "@rules_rust//rust/platform:thumbv7em-none-eabi": {
70*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
71*d4726bddSHONG Yifan        },
72*d4726bddSHONG Yifan        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": {
73*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
74*d4726bddSHONG Yifan        },
75*d4726bddSHONG Yifan        "@rules_rust//rust/platform:wasm32-unknown-unknown": {
76*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
77*d4726bddSHONG Yifan        },
78*d4726bddSHONG Yifan        "@rules_rust//rust/platform:wasm32-wasi": {
79*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
80*d4726bddSHONG Yifan        },
81*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-apple-darwin": {
82*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
83*d4726bddSHONG Yifan        },
84*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-apple-ios": {
85*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
86*d4726bddSHONG Yifan        },
87*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-fuchsia": {
88*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
89*d4726bddSHONG Yifan        },
90*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-linux-android": {
91*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
92*d4726bddSHONG Yifan        },
93*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": {
94*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(windows)
95*d4726bddSHONG Yifan        },
96*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-freebsd": {
97*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
98*d4726bddSHONG Yifan        },
99*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-none": {
100*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
101*d4726bddSHONG Yifan        },
102*d4726bddSHONG Yifan        "//conditions:default": {},
103*d4726bddSHONG Yifan    }),
104*d4726bddSHONG Yifan    compile_data = glob(
105*d4726bddSHONG Yifan        include = ["**"],
106*d4726bddSHONG Yifan        allow_empty = True,
107*d4726bddSHONG Yifan        exclude = [
108*d4726bddSHONG Yifan            "**/* *",
109*d4726bddSHONG Yifan            ".tmp_git_root/**/*",
110*d4726bddSHONG Yifan            "BUILD",
111*d4726bddSHONG Yifan            "BUILD.bazel",
112*d4726bddSHONG Yifan            "WORKSPACE",
113*d4726bddSHONG Yifan            "WORKSPACE.bazel",
114*d4726bddSHONG Yifan        ],
115*d4726bddSHONG Yifan    ),
116*d4726bddSHONG Yifan    crate_features = [
117*d4726bddSHONG Yifan        "default",
118*d4726bddSHONG Yifan        "io-lifetimes",
119*d4726bddSHONG Yifan        "libc",
120*d4726bddSHONG Yifan        "std",
121*d4726bddSHONG Yifan        "termios",
122*d4726bddSHONG Yifan        "use-libc-auxv",
123*d4726bddSHONG Yifan    ],
124*d4726bddSHONG Yifan    crate_root = "src/lib.rs",
125*d4726bddSHONG Yifan    edition = "2018",
126*d4726bddSHONG Yifan    rustc_flags = [
127*d4726bddSHONG Yifan        "--cap-lints=allow",
128*d4726bddSHONG Yifan    ],
129*d4726bddSHONG Yifan    tags = [
130*d4726bddSHONG Yifan        "cargo-bazel",
131*d4726bddSHONG Yifan        "crate-name=rustix",
132*d4726bddSHONG Yifan        "manual",
133*d4726bddSHONG Yifan        "noclippy",
134*d4726bddSHONG Yifan        "norustfmt",
135*d4726bddSHONG Yifan    ],
136*d4726bddSHONG Yifan    target_compatible_with = select({
137*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-darwin": [],
138*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-ios": [],
139*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
140*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-fuchsia": [],
141*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-linux-android": [],
142*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
143*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
144*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
145*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
146*d4726bddSHONG Yifan        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
147*d4726bddSHONG Yifan        "@rules_rust//rust/platform:armv7-linux-androideabi": [],
148*d4726bddSHONG Yifan        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
149*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-apple-darwin": [],
150*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-linux-android": [],
151*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
152*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-unknown-freebsd": [],
153*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
154*d4726bddSHONG Yifan        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
155*d4726bddSHONG Yifan        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
156*d4726bddSHONG Yifan        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
157*d4726bddSHONG Yifan        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
158*d4726bddSHONG Yifan        "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
159*d4726bddSHONG Yifan        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
160*d4726bddSHONG Yifan        "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
161*d4726bddSHONG Yifan        "@rules_rust//rust/platform:wasm32-wasi": [],
162*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-apple-darwin": [],
163*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-apple-ios": [],
164*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-fuchsia": [],
165*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-linux-android": [],
166*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
167*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
168*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
169*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [],
170*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-none": [],
171*d4726bddSHONG Yifan        "//conditions:default": ["@platforms//:incompatible"],
172*d4726bddSHONG Yifan    }),
173*d4726bddSHONG Yifan    version = "0.37.20",
174*d4726bddSHONG Yifan    deps = [
175*d4726bddSHONG Yifan        "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
176*d4726bddSHONG Yifan        "@rules_rust_bindgen__io-lifetimes-1.0.11//:io_lifetimes",
177*d4726bddSHONG Yifan        "@rules_rust_bindgen__libc-0.2.146//:libc",
178*d4726bddSHONG Yifan        "@rules_rust_bindgen__rustix-0.37.20//:build_script_build",
179*d4726bddSHONG Yifan    ] + select({
180*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-darwin": [
181*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
182*d4726bddSHONG Yifan        ],
183*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-ios": [
184*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
185*d4726bddSHONG Yifan        ],
186*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
187*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
188*d4726bddSHONG Yifan        ],
189*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-fuchsia": [
190*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
191*d4726bddSHONG Yifan        ],
192*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-linux-android": [
193*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
194*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
195*d4726bddSHONG Yifan        ],
196*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
197*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(windows)
198*d4726bddSHONG Yifan            "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys",  # cfg(windows)
199*d4726bddSHONG Yifan        ],
200*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
201*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
202*d4726bddSHONG Yifan        ],
203*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
204*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
205*d4726bddSHONG Yifan        ],
206*d4726bddSHONG Yifan        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
207*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
208*d4726bddSHONG Yifan        ],
209*d4726bddSHONG Yifan        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
210*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
211*d4726bddSHONG Yifan        ],
212*d4726bddSHONG Yifan        "@rules_rust//rust/platform:armv7-linux-androideabi": [
213*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
214*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
215*d4726bddSHONG Yifan        ],
216*d4726bddSHONG Yifan        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
217*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
218*d4726bddSHONG Yifan        ],
219*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-apple-darwin": [
220*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
221*d4726bddSHONG Yifan        ],
222*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-linux-android": [
223*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
224*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
225*d4726bddSHONG Yifan        ],
226*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-pc-windows-msvc": [
227*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(windows)
228*d4726bddSHONG Yifan            "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys",  # cfg(windows)
229*d4726bddSHONG Yifan        ],
230*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-unknown-freebsd": [
231*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
232*d4726bddSHONG Yifan        ],
233*d4726bddSHONG Yifan        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
234*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
235*d4726bddSHONG Yifan        ],
236*d4726bddSHONG Yifan        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
237*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
238*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
239*d4726bddSHONG Yifan        ],
240*d4726bddSHONG Yifan        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
241*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
242*d4726bddSHONG Yifan        ],
243*d4726bddSHONG Yifan        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
244*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
245*d4726bddSHONG Yifan        ],
246*d4726bddSHONG Yifan        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
247*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
248*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
249*d4726bddSHONG Yifan        ],
250*d4726bddSHONG Yifan        "@rules_rust//rust/platform:thumbv7em-none-eabi": [
251*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
252*d4726bddSHONG Yifan        ],
253*d4726bddSHONG Yifan        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
254*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
255*d4726bddSHONG Yifan        ],
256*d4726bddSHONG Yifan        "@rules_rust//rust/platform:wasm32-unknown-unknown": [
257*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
258*d4726bddSHONG Yifan        ],
259*d4726bddSHONG Yifan        "@rules_rust//rust/platform:wasm32-wasi": [
260*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
261*d4726bddSHONG Yifan        ],
262*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-apple-darwin": [
263*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
264*d4726bddSHONG Yifan        ],
265*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-apple-ios": [
266*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
267*d4726bddSHONG Yifan        ],
268*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-fuchsia": [
269*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
270*d4726bddSHONG Yifan        ],
271*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-linux-android": [
272*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
273*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
274*d4726bddSHONG Yifan        ],
275*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
276*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(windows)
277*d4726bddSHONG Yifan            "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys",  # cfg(windows)
278*d4726bddSHONG Yifan        ],
279*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
280*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
281*d4726bddSHONG Yifan        ],
282*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
283*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
284*d4726bddSHONG Yifan        ],
285*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
286*d4726bddSHONG Yifan            "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys",  # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
287*d4726bddSHONG Yifan        ],
288*d4726bddSHONG Yifan        "@rules_rust//rust/platform:x86_64-unknown-none": [
289*d4726bddSHONG Yifan            "@rules_rust_bindgen__errno-0.3.1//:errno",  # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
290*d4726bddSHONG Yifan        ],
291*d4726bddSHONG Yifan        "//conditions:default": [],
292*d4726bddSHONG Yifan    }),
293*d4726bddSHONG Yifan)
294*d4726bddSHONG Yifan
295*d4726bddSHONG Yifancargo_build_script(
296*d4726bddSHONG Yifan    name = "_bs",
297*d4726bddSHONG Yifan    srcs = glob(
298*d4726bddSHONG Yifan        include = ["**/*.rs"],
299*d4726bddSHONG Yifan        allow_empty = True,
300*d4726bddSHONG Yifan    ),
301*d4726bddSHONG Yifan    crate_features = [
302*d4726bddSHONG Yifan        "default",
303*d4726bddSHONG Yifan        "io-lifetimes",
304*d4726bddSHONG Yifan        "libc",
305*d4726bddSHONG Yifan        "std",
306*d4726bddSHONG Yifan        "termios",
307*d4726bddSHONG Yifan        "use-libc-auxv",
308*d4726bddSHONG Yifan    ],
309*d4726bddSHONG Yifan    crate_name = "build_script_build",
310*d4726bddSHONG Yifan    crate_root = "build.rs",
311*d4726bddSHONG Yifan    data = glob(
312*d4726bddSHONG Yifan        include = ["**"],
313*d4726bddSHONG Yifan        allow_empty = True,
314*d4726bddSHONG Yifan        exclude = [
315*d4726bddSHONG Yifan            "**/* *",
316*d4726bddSHONG Yifan            ".tmp_git_root/**/*",
317*d4726bddSHONG Yifan            "BUILD",
318*d4726bddSHONG Yifan            "BUILD.bazel",
319*d4726bddSHONG Yifan            "WORKSPACE",
320*d4726bddSHONG Yifan            "WORKSPACE.bazel",
321*d4726bddSHONG Yifan        ],
322*d4726bddSHONG Yifan    ),
323*d4726bddSHONG Yifan    edition = "2018",
324*d4726bddSHONG Yifan    pkg_name = "rustix",
325*d4726bddSHONG Yifan    rustc_flags = [
326*d4726bddSHONG Yifan        "--cap-lints=allow",
327*d4726bddSHONG Yifan    ],
328*d4726bddSHONG Yifan    tags = [
329*d4726bddSHONG Yifan        "cargo-bazel",
330*d4726bddSHONG Yifan        "crate-name=rustix",
331*d4726bddSHONG Yifan        "manual",
332*d4726bddSHONG Yifan        "noclippy",
333*d4726bddSHONG Yifan        "norustfmt",
334*d4726bddSHONG Yifan    ],
335*d4726bddSHONG Yifan    version = "0.37.20",
336*d4726bddSHONG Yifan    visibility = ["//visibility:private"],
337*d4726bddSHONG Yifan)
338*d4726bddSHONG Yifan
339*d4726bddSHONG Yifanalias(
340*d4726bddSHONG Yifan    name = "build_script_build",
341*d4726bddSHONG Yifan    actual = ":_bs",
342*d4726bddSHONG Yifan    tags = ["manual"],
343*d4726bddSHONG Yifan)
344