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 @//sys/basic/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/Apache-2.0
19# ])
20
21rust_library(
22    name = "bzip2_sys",
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_root = "lib.rs",
35    edition = "2015",
36    rustc_flags = ["--cap-lints=allow"],
37    tags = [
38        "cargo-bazel",
39        "manual",
40        "noclippy",
41        "norustfmt",
42    ],
43    version = "0.1.11+1.0.8",
44    deps = [
45        "@basic_sys__bzip2-sys-0.1.11-1.0.8//:build_script_build",
46        "@basic_sys__libc-0.2.137//:libc",
47    ],
48)
49
50cargo_build_script(
51    name = "bzip2-sys_build_script",
52    srcs = glob(["**/*.rs"]),
53    crate_name = "build_script_build",
54    crate_root = "build.rs",
55    data = glob(
56        include = ["**"],
57        exclude = [
58            "**/* *",
59            "BUILD",
60            "BUILD.bazel",
61            "WORKSPACE",
62            "WORKSPACE.bazel",
63        ],
64    ),
65    edition = "2015",
66    links = "bzip2",
67    rustc_flags = [
68        "--cap-lints=allow",
69    ],
70    tags = [
71        "cargo-bazel",
72        "manual",
73        "noclippy",
74        "norustfmt",
75    ],
76    version = "0.1.11+1.0.8",
77    visibility = ["//visibility:private"],
78    deps = [
79        "@basic_sys__cc-1.0.77//:cc",
80        "@basic_sys__pkg-config-0.3.26//:pkg_config",
81    ],
82)
83
84alias(
85    name = "build_script_build",
86    actual = "bzip2-sys_build_script",
87    tags = ["manual"],
88)