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