fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

UebelAndreUpdated `wasm_bindgen` rules dependencies. (#1464)6c285eb2

0.8.1
4.7 KiB186 linesraw
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 //wasm_bindgen/3rdparty:crates_vendor
7###############################################################################
8
9load(
10    "@bazel_skylib//lib:selects.bzl",
11    "selects",
12)
13load(
14    "@rules_rust//cargo:defs.bzl",
15    "cargo_build_script",
16)
17
18# buildifier: disable=bzl-visibility
19load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
20load(
21    "@rules_rust//rust:defs.bzl",
22    "rust_library",
23)
24
25package(default_visibility = ["//visibility:public"])
26
27# licenses([
28#     "TODO",  # MIT OR Apache-2.0
29# ])
30
31rust_library(
32    name = "crossbeam_epoch",
33    srcs = glob(
34        include = [
35            "**/*.rs",
36        ],
37        exclude = [
38        ],
39    ),
40    aliases = selects.with_or({
41        "//conditions:default": {
42        },
43    }),
44    compile_data = glob(
45        include = ["**"],
46        exclude = [
47            "BUILD",
48            "BUILD.bazel",
49            "WORKSPACE",
50            "WORKSPACE.bazel",
51        ],
52    ) + select_with_or({
53        "//conditions:default": [
54        ],
55    }),
56    crate_features = [
57        "alloc",
58        "once_cell",
59        "std",
60    ],
61    crate_root = "src/lib.rs",
62    data = select_with_or({
63        "//conditions:default": [
64        ],
65    }),
66    edition = "2018",
67    proc_macro_deps = [
68    ] + select_with_or({
69        "//conditions:default": [
70        ],
71    }),
72    rustc_env = {
73    },
74    rustc_env_files = select_with_or({
75        "//conditions:default": [
76        ],
77    }),
78    rustc_flags = [
79        # In most cases, warnings in 3rd party crates are not interesting as
80        # they're out of the control of consumers. The flag here silences
81        # warnings. For more details see:
82        # https://doc.rust-lang.org/rustc/lints/levels.html
83        "--cap-lints=allow",
84    ],
85    tags = [
86        "cargo-bazel",
87        "manual",
88        "noclippy",
89        "norustfmt",
90    ],
91    version = "0.9.9",
92    deps = [
93    ] + select_with_or({
94        "//conditions:default": [
95            "@rules_rust_wasm_bindgen__cfg-if-1.0.0//:cfg_if",
96            "@rules_rust_wasm_bindgen__crossbeam-epoch-0.9.9//:build_script_build",
97            "@rules_rust_wasm_bindgen__crossbeam-utils-0.8.10//:crossbeam_utils",
98            "@rules_rust_wasm_bindgen__memoffset-0.6.5//:memoffset",
99            "@rules_rust_wasm_bindgen__once_cell-1.13.0//:once_cell",
100            "@rules_rust_wasm_bindgen__scopeguard-1.1.0//:scopeguard",
101        ],
102    }),
103)
104
105cargo_build_script(
106    # See comment associated with alias. Do not change this name
107    name = "crossbeam-epoch_build_script",
108    srcs = glob(
109        include = [
110            "**/*.rs",
111        ],
112        exclude = [
113        ],
114    ),
115    aliases = selects.with_or({
116        "//conditions:default": {
117        },
118    }),
119    build_script_env = {
120    },
121    compile_data = select_with_or({
122        "//conditions:default": [
123        ],
124    }),
125    crate_features = [
126        "alloc",
127        "once_cell",
128        "std",
129    ],
130    crate_name = "build_script_build",
131    crate_root = "build.rs",
132    data = glob(["**"]) + select_with_or({
133        "//conditions:default": [
134        ],
135    }),
136    edition = "2018",
137    proc_macro_deps = [
138    ] + select_with_or({
139        "//conditions:default": [
140        ],
141    }),
142    rustc_env = {
143    },
144    rustc_env_files = select_with_or({
145        "//conditions:default": [
146        ],
147    }),
148    rustc_flags = [
149        # In most cases, warnings in 3rd party crates are not interesting as
150        # they're out of the control of consumers. The flag here silences
151        # warnings. For more details see:
152        # https://doc.rust-lang.org/rustc/lints/levels.html
153        "--cap-lints=allow",
154    ],
155    tags = [
156        "cargo-bazel",
157        "manual",
158        "noclippy",
159        "norustfmt",
160    ],
161    tools = select_with_or({
162        "//conditions:default": [
163        ],
164    }),
165    version = "0.9.9",
166    visibility = ["//visibility:private"],
167    deps = [
168    ] + select_with_or({
169        "//conditions:default": [
170            "@rules_rust_wasm_bindgen__autocfg-1.1.0//:autocfg",
171        ],
172    }),
173)
174
175alias(
176    # Because `cargo_build_script` does some invisible target name mutating to
177    # determine the package and crate name for a build script, the Bazel
178    # target namename of any build script cannot be the Cargo canonical name
179    # of `build_script_build` without losing out on having certain Cargo
180    # environment variables set.
181    name = "build_script_build",
182    actual = "crossbeam-epoch_build_script",
183    tags = [
184        "manual",
185    ],
186)