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