aboutsummaryrefslogtreecommitdiff
path: root/third-party/bazel/BUILD.winapi-util-0.1.5.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'third-party/bazel/BUILD.winapi-util-0.1.5.bazel')
-rw-r--r--third-party/bazel/BUILD.winapi-util-0.1.5.bazel53
1 files changed, 53 insertions, 0 deletions
diff --git a/third-party/bazel/BUILD.winapi-util-0.1.5.bazel b/third-party/bazel/BUILD.winapi-util-0.1.5.bazel
new file mode 100644
index 00000000..6ca7e9a7
--- /dev/null
+++ b/third-party/bazel/BUILD.winapi-util-0.1.5.bazel
@@ -0,0 +1,53 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//third-party:vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Unlicense/MIT
+# ])
+
+rust_library(
+ name = "winapi_util",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=winapi-util",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.1.5",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@vendor__winapi-0.3.9//:winapi", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@vendor__winapi-0.3.9//:winapi", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@vendor__winapi-0.3.9//:winapi", # cfg(windows)
+ ],
+ "//conditions:default": [],
+ }),
+)