blob: d40d6d3b876133c40b290b014007a880bb5558f5 [file] [log] [blame]
###############################################################################
# @generated
# This file is auto-generated by the cargo-bazel tool.
#
# DO NOT MODIFY: Local changes may be replaced in future executions.
###############################################################################
load(
"@bazel_skylib//lib:selects.bzl",
"selects",
)
load(
"@rules_rust//cargo:defs.bzl",
"cargo_build_script",
)
# buildifier: disable=bzl-visibility
load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
load(
"@rules_rust//rust:defs.bzl",
"rust_library",
)
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # MIT/Apache-2.0
# ])
rust_library(
name = "winapi",
srcs = glob(
include = [
"**/*.rs",
],
exclude = [
],
),
aliases = selects.with_or({
"//conditions:default": {
},
}),
compile_data = glob(["**"]) + select_with_or({
"//conditions:default": [
],
}),
crate_features = [
"consoleapi",
"errhandlingapi",
"fileapi",
"handleapi",
"minwinbase",
"minwindef",
"ntsecapi",
"processenv",
"profileapi",
"shlobj",
"std",
"timezoneapi",
"winbase",
"wincon",
"winerror",
"winnt",
],
crate_root = "src/lib.rs",
data = select_with_or({
"//conditions:default": [
],
}),
edition = "2015",
proc_macro_deps = [
] + select_with_or({
"//conditions:default": [
],
}),
rustc_env = {
},
rustc_env_files = select_with_or({
"//conditions:default": [
],
}),
rustc_flags = [
# In most cases, warnings in 3rd party crates are not interesting as
# they're out of the control of consumers. The flag here silences
# warnings. For more details see:
# https://doc.rust-lang.org/rustc/lints/levels.html
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "0.3.9",
deps = [
] + select_with_or({
# i686-pc-windows-gnu
#
# No supported platform triples for cfg: 'i686-pc-windows-gnu'
# Skipped dependencies: [{"id":"winapi-i686-pc-windows-gnu 0.4.0","target":"winapi_i686_pc_windows_gnu"}]
#
# x86_64-pc-windows-gnu
#
# No supported platform triples for cfg: 'x86_64-pc-windows-gnu'
# Skipped dependencies: [{"id":"winapi-x86_64-pc-windows-gnu 0.4.0","target":"winapi_x86_64_pc_windows_gnu"}]
#
"//conditions:default": [
"@crate_universe_crate_index__winapi-0.3.9//:build_script_build",
],
}),
)
cargo_build_script(
# See comment associated with alias. Do not change this name
name = "winapi_build_script",
srcs = glob(
include = [
"**/*.rs",
],
exclude = [
],
),
aliases = selects.with_or({
"//conditions:default": {
},
}),
build_script_env = {
},
compile_data = select_with_or({
"//conditions:default": [
],
}),
crate_features = [
"consoleapi",
"errhandlingapi",
"fileapi",
"handleapi",
"minwinbase",
"minwindef",
"ntsecapi",
"processenv",
"profileapi",
"shlobj",
"std",
"timezoneapi",
"winbase",
"wincon",
"winerror",
"winnt",
],
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(["**"]) + select_with_or({
"//conditions:default": [
],
}),
edition = "2015",
proc_macro_deps = [
] + select_with_or({
"//conditions:default": [
],
}),
rustc_env = {
},
rustc_env_files = select_with_or({
"//conditions:default": [
],
}),
rustc_flags = [
# In most cases, warnings in 3rd party crates are not interesting as
# they're out of the control of consumers. The flag here silences
# warnings. For more details see:
# https://doc.rust-lang.org/rustc/lints/levels.html
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
tools = select_with_or({
"//conditions:default": [
],
}),
version = "0.3.9",
visibility = ["//visibility:private"],
deps = [
] + select_with_or({
"//conditions:default": [
],
}),
)
alias(
# Because `cargo_build_script` does some invisible target name mutating to
# determine the package and crate name for a build script, the Bazel
# target namename of any build script cannot be the Cargo canonical name
# of `build_script_build` without losing out on having certain Cargo
# environment variables set.
name = "build_script_build",
actual = "winapi_build_script",
tags = [
"manual",
],
)