fork/rules_rust

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

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

0.6.0
2.1 KiB106 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 = "winapi_build_script",
42    srcs = glob(["**/*.rs"]),
43    build_script_env = {
44    },
45    crate_features = [
46        "consoleapi",
47        "errhandlingapi",
48        "fileapi",
49        "minwinbase",
50        "minwindef",
51        "processenv",
52        "std",
53        "winbase",
54        "wincon",
55        "winerror",
56        "winnt",
57    ],
58    crate_root = "build.rs",
59    data = glob(["**"]),
60    edition = "2015",
61    rustc_flags = [
62        "--cap-lints=allow",
63    ],
64    tags = [
65        "cargo-raze",
66        "manual",
67    ],
68    version = "0.3.9",
69    visibility = ["//visibility:private"],
70    deps = [
71    ],
72)
73
74rust_library(
75    name = "winapi",
76    srcs = glob(["**/*.rs"]),
77    crate_features = [
78        "consoleapi",
79        "errhandlingapi",
80        "fileapi",
81        "minwinbase",
82        "minwindef",
83        "processenv",
84        "std",
85        "winbase",
86        "wincon",
87        "winerror",
88        "winnt",
89    ],
90    crate_root = "src/lib.rs",
91    data = [],
92    edition = "2015",
93    rustc_flags = [
94        "--cap-lints=allow",
95    ],
96    tags = [
97        "cargo-raze",
98        "crate-name=winapi",
99        "manual",
100    ],
101    version = "0.3.9",
102    # buildifier: leave-alone
103    deps = [
104        ":winapi_build_script",
105    ],
106)