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