fork/rules_rust

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

UebelAndreRegenerated `cargo-raze` outputs with v0.15.0 (#1184)5e6ad9f6

0.7.0
2.4 KiB103 linesraw
1"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13    "@rules_rust//rust:defs.bzl",
14    "rust_binary",
15    "rust_library",
16    "rust_proc_macro",
17    "rust_test",
18)
19
20package(default_visibility = [
21    # Public for visibility by "@raze__crate__version//" targets.
22    #
23    # Prefer access through "//tools/rust_analyzer/raze", which limits external
24    # visibility to explicit Cargo.toml dependencies.
25    "//visibility:public",
26])
27
28licenses([
29    "notice",  # MIT from expression "MIT OR Apache-2.0"
30])
31
32# Generated Targets
33# buildifier: disable=out-of-order-load
34# buildifier: disable=load-on-top
35load(
36    "@rules_rust//cargo:cargo_build_script.bzl",
37    "cargo_build_script",
38)
39
40cargo_build_script(
41    name = "proc_macro_error_build_script",
42    srcs = glob(["**/*.rs"]),
43    build_script_env = {
44    },
45    crate_features = [
46        "default",
47        "syn",
48        "syn-error",
49    ],
50    crate_root = "build.rs",
51    data = glob(["**"]),
52    edition = "2018",
53    rustc_flags = [
54        "--cap-lints=allow",
55    ],
56    tags = [
57        "cargo-raze",
58        "manual",
59    ],
60    version = "1.0.4",
61    visibility = ["//visibility:private"],
62    deps = [
63        "@rules_rust_tools_rust_analyzer__version_check__0_9_3//:version_check",
64    ],
65)
66
67rust_library(
68    name = "proc_macro_error",
69    srcs = glob(["**/*.rs"]),
70    crate_features = [
71        "default",
72        "syn",
73        "syn-error",
74    ],
75    crate_root = "src/lib.rs",
76    data = [],
77    edition = "2018",
78    proc_macro_deps = [
79        "@rules_rust_tools_rust_analyzer__proc_macro_error_attr__1_0_4//:proc_macro_error_attr",
80    ],
81    rustc_flags = [
82        "--cap-lints=allow",
83    ],
84    tags = [
85        "cargo-raze",
86        "crate-name=proc-macro-error",
87        "manual",
88    ],
89    version = "1.0.4",
90    # buildifier: leave-alone
91    deps = [
92        ":proc_macro_error_build_script",
93        "@rules_rust_tools_rust_analyzer__proc_macro2__1_0_32//:proc_macro2",
94        "@rules_rust_tools_rust_analyzer__quote__1_0_10//:quote",
95        "@rules_rust_tools_rust_analyzer__syn__1_0_81//:syn",
96    ],
97)
98
99# Unsupported target "macro-errors" with type "test" omitted
100
101# Unsupported target "ok" with type "test" omitted
102
103# Unsupported target "runtime-errors" with type "test" omitted