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