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 KiB67 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(
10    "@rules_rust//rust:defs.bzl",
11    "rust_library",
12)
13
14package(default_visibility = ["//visibility:public"])
15
16# licenses([
17#     "TODO",  # MIT OR Apache-2.0
18# ])
19
20rust_library(
21    name = "windows_sys",
22    srcs = glob(["**/*.rs"]),
23    compile_data = glob(
24        include = ["**"],
25        exclude = [
26            "**/* *",
27            "BUILD",
28            "BUILD.bazel",
29            "WORKSPACE",
30            "WORKSPACE.bazel",
31        ],
32    ),
33    crate_features = [
34        "Win32",
35        "Win32_Foundation",
36        "Win32_Security",
37        "Win32_Security_Authentication",
38        "Win32_Security_Authentication_Identity",
39        "Win32_Security_Credentials",
40        "Win32_Security_Cryptography",
41        "Win32_System",
42        "Win32_System_Memory",
43        "default",
44    ],
45    crate_root = "src/lib.rs",
46    edition = "2018",
47    rustc_flags = ["--cap-lints=allow"],
48    tags = [
49        "cargo-bazel",
50        "manual",
51        "noclippy",
52        "norustfmt",
53    ],
54    version = "0.36.1",
55    deps = select({
56        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
57            "@rules_rust_wasm_bindgen__windows_aarch64_msvc-0.36.1//:windows_aarch64_msvc",  # aarch64-pc-windows-msvc
58        ],
59        "@rules_rust//rust/platform:i686-pc-windows-msvc": [
60            "@rules_rust_wasm_bindgen__windows_i686_msvc-0.36.1//:windows_i686_msvc",  # i686-pc-windows-msvc
61        ],
62        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
63            "@rules_rust_wasm_bindgen__windows_x86_64_msvc-0.36.1//:windows_x86_64_msvc",  # x86_64-pc-windows-msvc
64        ],
65        "//conditions:default": [],
66    }),
67)