fork/rules_rust

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

Joseph RyanRemove ios/android/wasm support for gen_rust_project depsd8ea6b8c

rust-analyzer
2.5 KiB100 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 @//tools/rust_analyzer/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15#     "TODO",  # MIT OR Apache-2.0
16# ])
17
18rust_library(
19    name = "proc_macro_error",
20    srcs = glob(["**/*.rs"]),
21    compile_data = glob(
22        include = ["**"],
23        exclude = [
24            "**/* *",
25            "BUILD",
26            "BUILD.bazel",
27            "WORKSPACE",
28            "WORKSPACE.bazel",
29        ],
30    ),
31    crate_features = [
32        "default",
33        "syn",
34        "syn-error",
35    ],
36    crate_root = "src/lib.rs",
37    edition = "2018",
38    proc_macro_deps = [
39        "@rules_rust_rust_analyzer__proc-macro-error-attr-1.0.4//:proc_macro_error_attr",
40    ],
41    rustc_flags = ["--cap-lints=allow"],
42    tags = [
43        "cargo-bazel",
44        "crate-name=proc-macro-error",
45        "manual",
46        "noclippy",
47        "norustfmt",
48    ],
49    version = "1.0.4",
50    deps = [
51        "@rules_rust_rust_analyzer__proc-macro-error-1.0.4//:build_script_build",
52        "@rules_rust_rust_analyzer__proc-macro2-1.0.49//:proc_macro2",
53        "@rules_rust_rust_analyzer__quote-1.0.23//:quote",
54        "@rules_rust_rust_analyzer__syn-1.0.107//:syn",
55    ],
56)
57
58cargo_build_script(
59    name = "proc-macro-error_build_script",
60    srcs = glob(["**/*.rs"]),
61    crate_features = [
62        "default",
63        "syn",
64        "syn-error",
65    ],
66    crate_name = "build_script_build",
67    crate_root = "build.rs",
68    data = glob(
69        include = ["**"],
70        exclude = [
71            "**/* *",
72            "BUILD",
73            "BUILD.bazel",
74            "WORKSPACE",
75            "WORKSPACE.bazel",
76        ],
77    ),
78    edition = "2018",
79    rustc_flags = [
80        "--cap-lints=allow",
81    ],
82    tags = [
83        "cargo-bazel",
84        "crate-name=proc-macro-error",
85        "manual",
86        "noclippy",
87        "norustfmt",
88    ],
89    version = "1.0.4",
90    visibility = ["//visibility:private"],
91    deps = [
92        "@rules_rust_rust_analyzer__version_check-0.9.4//:version_check",
93    ],
94)
95
96alias(
97    name = "build_script_build",
98    actual = "proc-macro-error_build_script",
99    tags = ["manual"],
100)