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
1.4 KiB65 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 "//bindgen/raze", which limits external
24    # visibility to explicit Cargo.toml dependencies.
25    "//visibility:public",
26])
27
28licenses([
29    "unencumbered",  # Unlicense from expression "Unlicense OR MIT"
30])
31
32# Generated Targets
33
34rust_library(
35    name = "winapi_util",
36    srcs = glob(["**/*.rs"]),
37    aliases = {
38    },
39    crate_features = [
40    ],
41    crate_root = "src/lib.rs",
42    data = [],
43    edition = "2018",
44    rustc_flags = [
45        "--cap-lints=allow",
46    ],
47    tags = [
48        "cargo-raze",
49        "crate-name=winapi-util",
50        "manual",
51    ],
52    version = "0.1.5",
53    # buildifier: leave-alone
54    deps = [
55    ] + selects.with_or({
56        # cfg(windows)
57        (
58            "@rules_rust//rust/platform:i686-pc-windows-msvc",
59            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
60        ): [
61            "@rules_rust_bindgen__winapi__0_3_9//:winapi",
62        ],
63        "//conditions:default": [],
64    }),
65)