fork/rules_rust

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

UebelAndreUpdate wasm_bindgen to use crate universe. (#1398)97264b79

0.6.0
4.0 KiB152 linesraw
1###############################################################################
2# @generated
3# This file is auto-generated by the cargo-bazel tool.
4#
5# DO NOT MODIFY: Local changes may be replaced in future executions.
6###############################################################################
7
8load(
9    "@bazel_skylib//lib:selects.bzl",
10    "selects",
11)
12
13# buildifier: disable=bzl-visibility
14load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
15load(
16    "@rules_rust//rust:defs.bzl",
17    "rust_binary",
18    "rust_library",
19)
20
21package(default_visibility = ["//visibility:public"])
22
23# licenses([
24#     "TODO",  # MIT OR Apache-2.0
25# ])
26
27rust_library(
28    name = "assert_cmd",
29    srcs = glob(
30        include = [
31            "**/*.rs",
32        ],
33        exclude = [
34        ],
35    ),
36    aliases = selects.with_or({
37        "//conditions:default": {
38        },
39    }),
40    compile_data = glob(["**"]) + select_with_or({
41        "//conditions:default": [
42        ],
43    }),
44    crate_features = [
45    ],
46    crate_root = "src/lib.rs",
47    data = select_with_or({
48        "//conditions:default": [
49        ],
50    }),
51    edition = "2018",
52    proc_macro_deps = [
53    ] + select_with_or({
54        "//conditions:default": [
55        ],
56    }),
57    rustc_env = {
58    },
59    rustc_env_files = select_with_or({
60        "//conditions:default": [
61        ],
62    }),
63    rustc_flags = [
64        # In most cases, warnings in 3rd party crates are not interesting as
65        # they're out of the control of consumers. The flag here silences
66        # warnings. For more details see:
67        # https://doc.rust-lang.org/rustc/lints/levels.html
68        "--cap-lints=allow",
69    ],
70    tags = [
71        "cargo-bazel",
72        "manual",
73        "noclippy",
74        "norustfmt",
75    ],
76    version = "1.0.8",
77    deps = [
78    ] + select_with_or({
79        "//conditions:default": [
80            "@rules_rust_wasm_bindgen__bstr-0.2.17//:bstr",
81            "@rules_rust_wasm_bindgen__doc-comment-0.3.3//:doc_comment",
82            "@rules_rust_wasm_bindgen__predicates-2.1.1//:predicates",
83            "@rules_rust_wasm_bindgen__predicates-core-1.0.3//:predicates_core",
84            "@rules_rust_wasm_bindgen__predicates-tree-1.0.5//:predicates_tree",
85            "@rules_rust_wasm_bindgen__wait-timeout-0.2.0//:wait_timeout",
86        ],
87    }),
88)
89
90rust_binary(
91    name = "bin_fixture__bin",
92    srcs = glob(
93        include = [
94            "**/*.rs",
95        ],
96        exclude = [
97        ],
98    ),
99    aliases = selects.with_or({
100        "//conditions:default": {
101        },
102    }),
103    compile_data = glob(["**"]) + select_with_or({
104        "//conditions:default": [
105        ],
106    }),
107    crate_features = [
108    ],
109    crate_root = "src/bin/bin_fixture.rs",
110    data = select_with_or({
111        "//conditions:default": [
112        ],
113    }),
114    edition = "2018",
115    proc_macro_deps = [
116    ] + select_with_or({
117        "//conditions:default": [
118        ],
119    }),
120    rustc_env = {
121    },
122    rustc_env_files = select_with_or({
123        "//conditions:default": [
124        ],
125    }),
126    rustc_flags = [
127        # In most cases, warnings in 3rd party crates are not interesting as
128        # they're out of the control of consumers. The flag here silences
129        # warnings. For more details see:
130        # https://doc.rust-lang.org/rustc/lints/levels.html
131        "--cap-lints=allow",
132    ],
133    tags = [
134        "cargo-bazel",
135        "manual",
136        "noclippy",
137        "norustfmt",
138    ],
139    version = "1.0.8",
140    deps = [
141        ":assert_cmd",
142    ] + select_with_or({
143        "//conditions:default": [
144            "@rules_rust_wasm_bindgen__bstr-0.2.17//:bstr",
145            "@rules_rust_wasm_bindgen__doc-comment-0.3.3//:doc_comment",
146            "@rules_rust_wasm_bindgen__predicates-2.1.1//:predicates",
147            "@rules_rust_wasm_bindgen__predicates-core-1.0.3//:predicates_core",
148            "@rules_rust_wasm_bindgen__predicates-tree-1.0.5//:predicates_tree",
149            "@rules_rust_wasm_bindgen__wait-timeout-0.2.0//:wait_timeout",
150        ],
151    }),
152)