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.0 KiB92 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",  # Unlicense/MIT
19# ])
20
21rust_library(
22    name = "memchr",
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 = [
35        "default",
36        "std",
37        "use_std",
38    ],
39    crate_root = "src/lib.rs",
40    edition = "2018",
41    rustc_flags = ["--cap-lints=allow"],
42    tags = [
43        "cargo-bazel",
44        "manual",
45        "noclippy",
46        "norustfmt",
47    ],
48    version = "2.5.0",
49    deps = [
50        "@rules_rust_wasm_bindgen__memchr-2.5.0//:build_script_build",
51    ],
52)
53
54cargo_build_script(
55    name = "memchr_build_script",
56    srcs = glob(["**/*.rs"]),
57    crate_features = [
58        "default",
59        "std",
60        "use_std",
61    ],
62    crate_name = "build_script_build",
63    crate_root = "build.rs",
64    data = glob(
65        include = ["**"],
66        exclude = [
67            "**/* *",
68            "BUILD",
69            "BUILD.bazel",
70            "WORKSPACE",
71            "WORKSPACE.bazel",
72        ],
73    ),
74    edition = "2018",
75    rustc_flags = [
76        "--cap-lints=allow",
77    ],
78    tags = [
79        "cargo-bazel",
80        "manual",
81        "noclippy",
82        "norustfmt",
83    ],
84    version = "2.5.0",
85    visibility = ["//visibility:private"],
86)
87
88alias(
89    name = "build_script_build",
90    actual = "memchr_build_script",
91    tags = ["manual"],
92)