xref: /aosp_15_r20/external/bazelbuild-rules_rust/bindgen/3rdparty/crates/BUILD.is-terminal-0.4.7.bazel (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6#     bazel run @//bindgen/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//rust:defs.bzl", "rust_library")
10
11package(default_visibility = ["//visibility:public"])
12
13rust_library(
14    name = "is_terminal",
15    srcs = glob(
16        include = ["**/*.rs"],
17        allow_empty = True,
18    ),
19    compile_data = glob(
20        include = ["**"],
21        allow_empty = True,
22        exclude = [
23            "**/* *",
24            ".tmp_git_root/**/*",
25            "BUILD",
26            "BUILD.bazel",
27            "WORKSPACE",
28            "WORKSPACE.bazel",
29        ],
30    ),
31    crate_root = "src/lib.rs",
32    edition = "2018",
33    rustc_flags = [
34        "--cap-lints=allow",
35    ],
36    tags = [
37        "cargo-bazel",
38        "crate-name=is-terminal",
39        "manual",
40        "noclippy",
41        "norustfmt",
42    ],
43    target_compatible_with = select({
44        "@rules_rust//rust/platform:aarch64-apple-darwin": [],
45        "@rules_rust//rust/platform:aarch64-apple-ios": [],
46        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
47        "@rules_rust//rust/platform:aarch64-fuchsia": [],
48        "@rules_rust//rust/platform:aarch64-linux-android": [],
49        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
50        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
51        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
52        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
53        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
54        "@rules_rust//rust/platform:armv7-linux-androideabi": [],
55        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
56        "@rules_rust//rust/platform:i686-apple-darwin": [],
57        "@rules_rust//rust/platform:i686-linux-android": [],
58        "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
59        "@rules_rust//rust/platform:i686-unknown-freebsd": [],
60        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
61        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
62        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
63        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
64        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
65        "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
66        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
67        "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
68        "@rules_rust//rust/platform:wasm32-wasi": [],
69        "@rules_rust//rust/platform:x86_64-apple-darwin": [],
70        "@rules_rust//rust/platform:x86_64-apple-ios": [],
71        "@rules_rust//rust/platform:x86_64-fuchsia": [],
72        "@rules_rust//rust/platform:x86_64-linux-android": [],
73        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
74        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
75        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
76        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [],
77        "@rules_rust//rust/platform:x86_64-unknown-none": [],
78        "//conditions:default": ["@platforms//:incompatible"],
79    }),
80    version = "0.4.7",
81    deps = [
82        "@rules_rust_bindgen__io-lifetimes-1.0.11//:io_lifetimes",
83    ] + select({
84        "@rules_rust//rust/platform:aarch64-apple-darwin": [
85            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
86        ],
87        "@rules_rust//rust/platform:aarch64-apple-ios": [
88            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
89        ],
90        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
91            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
92        ],
93        "@rules_rust//rust/platform:aarch64-fuchsia": [
94            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
95        ],
96        "@rules_rust//rust/platform:aarch64-linux-android": [
97            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
98        ],
99        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
100            "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys",  # cfg(windows)
101        ],
102        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
103            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
104        ],
105        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
106            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
107        ],
108        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
109            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
110        ],
111        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
112            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
113        ],
114        "@rules_rust//rust/platform:armv7-linux-androideabi": [
115            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
116        ],
117        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
118            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
119        ],
120        "@rules_rust//rust/platform:i686-apple-darwin": [
121            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
122        ],
123        "@rules_rust//rust/platform:i686-linux-android": [
124            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
125        ],
126        "@rules_rust//rust/platform:i686-pc-windows-msvc": [
127            "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys",  # cfg(windows)
128        ],
129        "@rules_rust//rust/platform:i686-unknown-freebsd": [
130            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
131        ],
132        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
133            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
134        ],
135        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
136            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
137        ],
138        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
139            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
140        ],
141        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
142            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
143        ],
144        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
145            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
146        ],
147        "@rules_rust//rust/platform:thumbv7em-none-eabi": [
148            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
149        ],
150        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
151            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
152        ],
153        "@rules_rust//rust/platform:wasm32-wasi": [
154            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
155        ],
156        "@rules_rust//rust/platform:x86_64-apple-darwin": [
157            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
158        ],
159        "@rules_rust//rust/platform:x86_64-apple-ios": [
160            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
161        ],
162        "@rules_rust//rust/platform:x86_64-fuchsia": [
163            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
164        ],
165        "@rules_rust//rust/platform:x86_64-linux-android": [
166            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
167        ],
168        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
169            "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys",  # cfg(windows)
170        ],
171        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
172            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
173        ],
174        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
175            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
176        ],
177        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
178            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
179        ],
180        "@rules_rust//rust/platform:x86_64-unknown-none": [
181            "@rules_rust_bindgen__rustix-0.37.20//:rustix",  # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
182        ],
183        "//conditions:default": [],
184    }),
185)
186