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