fork/rules_rust

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

UebelAndreUpdate wasm_bindgen to use crate universe. (#1398)97264b79

0.7.0
4.4 KiB149 linesraw
1###############################################################################
2# @generated
3# This file is auto-generated by the cargo-bazel tool.
4#
5# DO NOT MODIFY: Local changes may be replaced in future executions.
6###############################################################################
7
8load(
9    "@bazel_skylib//lib:selects.bzl",
10    "selects",
11)
12
13# buildifier: disable=bzl-visibility
14load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
15load(
16    "@rules_rust//rust:defs.bzl",
17    "rust_library",
18)
19
20package(default_visibility = ["//visibility:public"])
21
22# licenses([
23#     "TODO",  # MIT OR Apache-2.0
24# ])
25
26rust_library(
27    name = "windows_sys",
28    srcs = glob(
29        include = [
30            "**/*.rs",
31        ],
32        exclude = [
33        ],
34    ),
35    aliases = selects.with_or({
36        "//conditions:default": {
37        },
38    }),
39    compile_data = glob(["**"]) + select_with_or({
40        "//conditions:default": [
41        ],
42    }),
43    crate_features = [
44        "Win32",
45        "Win32_Foundation",
46        "Win32_Security",
47        "Win32_Security_Authentication",
48        "Win32_Security_Authentication_Identity",
49        "Win32_Security_Credentials",
50        "Win32_Security_Cryptography",
51        "Win32_System",
52        "Win32_System_Memory",
53        "default",
54    ],
55    crate_root = "src/lib.rs",
56    data = select_with_or({
57        "//conditions:default": [
58        ],
59    }),
60    edition = "2018",
61    proc_macro_deps = [
62    ] + select_with_or({
63        "//conditions:default": [
64        ],
65    }),
66    rustc_env = {
67    },
68    rustc_env_files = select_with_or({
69        "//conditions:default": [
70        ],
71    }),
72    rustc_flags = [
73        # In most cases, warnings in 3rd party crates are not interesting as
74        # they're out of the control of consumers. The flag here silences
75        # warnings. For more details see:
76        # https://doc.rust-lang.org/rustc/lints/levels.html
77        "--cap-lints=allow",
78    ],
79    tags = [
80        "cargo-bazel",
81        "manual",
82        "noclippy",
83        "norustfmt",
84    ],
85    version = "0.36.1",
86    deps = [
87    ] + select_with_or({
88        # aarch64-pc-windows-msvc
89        #
90        # No supported platform triples for cfg: 'aarch64-pc-windows-msvc'
91        # Skipped dependencies: [{"id":"windows_aarch64_msvc 0.36.1","target":"windows_aarch64_msvc"}]
92        #
93        # aarch64-uwp-windows-msvc
94        #
95        # No supported platform triples for cfg: 'aarch64-uwp-windows-msvc'
96        # Skipped dependencies: [{"id":"windows_aarch64_msvc 0.36.1","target":"windows_aarch64_msvc"}]
97        #
98        # i686-pc-windows-gnu
99        #
100        # No supported platform triples for cfg: 'i686-pc-windows-gnu'
101        # Skipped dependencies: [{"id":"windows_i686_gnu 0.36.1","target":"windows_i686_gnu"}]
102        #
103        # i686-pc-windows-msvc
104        (
105            "@rules_rust//rust/platform:i686-pc-windows-msvc",
106        ): [
107            # Target Deps
108            "@rules_rust_wasm_bindgen__windows_i686_msvc-0.36.1//:windows_i686_msvc",
109
110            # Common Deps
111        ],
112        # i686-uwp-windows-gnu
113        #
114        # No supported platform triples for cfg: 'i686-uwp-windows-gnu'
115        # Skipped dependencies: [{"id":"windows_i686_gnu 0.36.1","target":"windows_i686_gnu"}]
116        #
117        # i686-uwp-windows-msvc
118        #
119        # No supported platform triples for cfg: 'i686-uwp-windows-msvc'
120        # Skipped dependencies: [{"id":"windows_i686_msvc 0.36.1","target":"windows_i686_msvc"}]
121        #
122        # x86_64-pc-windows-gnu
123        #
124        # No supported platform triples for cfg: 'x86_64-pc-windows-gnu'
125        # Skipped dependencies: [{"id":"windows_x86_64_gnu 0.36.1","target":"windows_x86_64_gnu"}]
126        #
127        # x86_64-pc-windows-msvc
128        (
129            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
130        ): [
131            # Target Deps
132            "@rules_rust_wasm_bindgen__windows_x86_64_msvc-0.36.1//:windows_x86_64_msvc",
133
134            # Common Deps
135        ],
136        # x86_64-uwp-windows-gnu
137        #
138        # No supported platform triples for cfg: 'x86_64-uwp-windows-gnu'
139        # Skipped dependencies: [{"id":"windows_x86_64_gnu 0.36.1","target":"windows_x86_64_gnu"}]
140        #
141        # x86_64-uwp-windows-msvc
142        #
143        # No supported platform triples for cfg: 'x86_64-uwp-windows-msvc'
144        # Skipped dependencies: [{"id":"windows_x86_64_msvc 0.36.1","target":"windows_x86_64_msvc"}]
145        #
146        "//conditions:default": [
147        ],
148    }),
149)