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