blob: 6ca7e9a74894ca7c71351efa88fed07de411622e [file] [log] [blame]
###############################################################################
# @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": [],
}),
)