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