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