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