fork/rules_rust

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

David TolnayRegenerate BUILD files using serde_starlark renderer (#1746)d6e30035

rust-analyzer
2.1 KiB88 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("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load(
11    "@rules_rust//rust:defs.bzl",
12    "rust_library",
13)
14
15package(default_visibility = ["//visibility:public"])
16
17# licenses([
18#     "TODO",  # MIT
19# ])
20
21rust_library(
22    name = "generic_array",
23    srcs = glob(["**/*.rs"]),
24    compile_data = glob(
25        include = ["**"],
26        exclude = [
27            "**/* *",
28            "BUILD",
29            "BUILD.bazel",
30            "WORKSPACE",
31            "WORKSPACE.bazel",
32        ],
33    ),
34    crate_features = ["more_lengths"],
35    crate_root = "src/lib.rs",
36    edition = "2015",
37    rustc_flags = ["--cap-lints=allow"],
38    tags = [
39        "cargo-bazel",
40        "manual",
41        "noclippy",
42        "norustfmt",
43    ],
44    version = "0.14.6",
45    deps = [
46        "@rules_rust_wasm_bindgen__generic-array-0.14.6//:build_script_build",
47        "@rules_rust_wasm_bindgen__typenum-1.16.0//:typenum",
48    ],
49)
50
51cargo_build_script(
52    name = "generic-array_build_script",
53    srcs = glob(["**/*.rs"]),
54    crate_features = ["more_lengths"],
55    crate_name = "build_script_build",
56    crate_root = "build.rs",
57    data = glob(
58        include = ["**"],
59        exclude = [
60            "**/* *",
61            "BUILD",
62            "BUILD.bazel",
63            "WORKSPACE",
64            "WORKSPACE.bazel",
65        ],
66    ),
67    edition = "2015",
68    rustc_flags = [
69        "--cap-lints=allow",
70    ],
71    tags = [
72        "cargo-bazel",
73        "manual",
74        "noclippy",
75        "norustfmt",
76    ],
77    version = "0.14.6",
78    visibility = ["//visibility:private"],
79    deps = [
80        "@rules_rust_wasm_bindgen__version_check-0.9.4//:version_check",
81    ],
82)
83
84alias(
85    name = "build_script_build",
86    actual = "generic-array_build_script",
87    tags = ["manual"],
88)