fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
d3197a65
0.6.0
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) 12load ( 13"@rules_rust//cargo:defs.bzl" , 14"cargo_build_script" , 15) 16 17# buildifier: disable=bzl-visibility 18load ( "@rules_rust//crate_universe/private:selects.bzl" , "select_with_or" ) 19load ( 20"@rules_rust//rust:defs.bzl" , 21"rust_library" , 22) 23 24package ( default_visibility = [ "//visibility:public" ]) 25 26# licenses([ 27# "TODO", # MIT/Apache-2.0 28# ]) 29 30rust_library ( 31name = "winapi" , 32srcs = glob ( 33include = [ 34"**/*.rs" , 35], 36exclude = [ 37], 38), 39aliases = selects . with_or ({ 40"//conditions:default" : { 41}, 42}), 43compile_data = glob ([ "**" ]) + select_with_or ({ 44"//conditions:default" : [ 45], 46}), 47crate_features = [ 48"consoleapi" , 49"errhandlingapi" , 50"fileapi" , 51"handleapi" , 52"minwinbase" , 53"minwindef" , 54"ntsecapi" , 55"processenv" , 56"profileapi" , 57"shlobj" , 58"std" , 59"timezoneapi" , 60"winbase" , 61"wincon" , 62"winerror" , 63"winnt" , 64], 65crate_root = "src/lib.rs" , 66data = select_with_or ({ 67"//conditions:default" : [ 68], 69}), 70edition = "2015" , 71proc_macro_deps = [ 72] + select_with_or ({ 73"//conditions:default" : [ 74], 75}), 76rustc_env = { 77}, 78rustc_env_files = select_with_or ({ 79"//conditions:default" : [ 80], 81}), 82rustc_flags = [ 83# In most cases, warnings in 3rd party crates are not interesting as 84# they're out of the control of consumers. The flag here silences 85# warnings. For more details see: 86# https://doc.rust-lang.org/rustc/lints/levels.html 87"--cap-lints=allow" , 88], 89tags = [ 90"cargo-bazel" , 91"manual" , 92"noclippy" , 93"norustfmt" , 94], 95version = "0.3.9" , 96deps = [ 97] + select_with_or ({ 98# i686-pc-windows-gnu 99# 100# No supported platform triples for cfg: 'i686-pc-windows-gnu' 101# Skipped dependencies: [{"id":"winapi-i686-pc-windows-gnu 0.4.0","target":"winapi_i686_pc_windows_gnu"}] 102# 103# x86_64-pc-windows-gnu 104# 105# No supported platform triples for cfg: 'x86_64-pc-windows-gnu' 106# Skipped dependencies: [{"id":"winapi-x86_64-pc-windows-gnu 0.4.0","target":"winapi_x86_64_pc_windows_gnu"}] 107# 108"//conditions:default" : [ 109"@crate_universe_crate_index__winapi-0.3.9//:build_script_build" , 110], 111}), 112) 113 114cargo_build_script ( 115# See comment associated with alias. Do not change this name 116name = "winapi_build_script" , 117srcs = glob ( 118include = [ 119"**/*.rs" , 120], 121exclude = [ 122], 123), 124aliases = selects . with_or ({ 125"//conditions:default" : { 126}, 127}), 128build_script_env = { 129}, 130compile_data = select_with_or ({ 131"//conditions:default" : [ 132], 133}), 134crate_features = [ 135"consoleapi" , 136"errhandlingapi" , 137"fileapi" , 138"handleapi" , 139"minwinbase" , 140"minwindef" , 141"ntsecapi" , 142"processenv" , 143"profileapi" , 144"shlobj" , 145"std" , 146"timezoneapi" , 147"winbase" , 148"wincon" , 149"winerror" , 150"winnt" , 151], 152crate_name = "build_script_build" , 153crate_root = "build.rs" , 154data = glob ([ "**" ]) + select_with_or ({ 155"//conditions:default" : [ 156], 157}), 158edition = "2015" , 159proc_macro_deps = [ 160] + select_with_or ({ 161"//conditions:default" : [ 162], 163}), 164rustc_env = { 165}, 166rustc_env_files = select_with_or ({ 167"//conditions:default" : [ 168], 169}), 170rustc_flags = [ 171# In most cases, warnings in 3rd party crates are not interesting as 172# they're out of the control of consumers. The flag here silences 173# warnings. For more details see: 174# https://doc.rust-lang.org/rustc/lints/levels.html 175"--cap-lints=allow" , 176], 177tags = [ 178"cargo-bazel" , 179"manual" , 180"noclippy" , 181"norustfmt" , 182], 183tools = select_with_or ({ 184"//conditions:default" : [ 185], 186}), 187version = "0.3.9" , 188visibility = [ "//visibility:private" ], 189deps = [ 190] + select_with_or ({ 191"//conditions:default" : [ 192], 193}), 194) 195 196alias ( 197# Because `cargo_build_script` does some invisible target name mutating to 198# determine the package and crate name for a build script, the Bazel 199# target namename of any build script cannot be the Cargo canonical name 200# of `build_script_build` without losing out on having certain Cargo 201# environment variables set. 202name = "build_script_build" , 203actual = "winapi_build_script" , 204tags = [ 205"manual" , 206], 207)