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