fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
6d8009db
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 //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", # Apache-2.0 29# ]) 30 31rust_library ( 32name = "clang_sys" , 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"clang_3_5" , 58"clang_3_6" , 59"clang_3_7" , 60"clang_3_8" , 61"clang_3_9" , 62"clang_4_0" , 63"clang_5_0" , 64"clang_6_0" , 65"libloading" , 66"runtime" , 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 = "1.3.3" , 99deps = [ 100] + select_with_or ({ 101"//conditions:default" : [ 102"@rules_rust_bindgen__clang-sys-1.3.3//:build_script_build" , 103"@rules_rust_bindgen__glob-0.3.0//:glob" , 104"@rules_rust_bindgen__libc-0.2.126//:libc" , 105"@rules_rust_bindgen__libloading-0.7.3//:libloading" , 106], 107}), 108) 109 110cargo_build_script ( 111# See comment associated with alias. Do not change this name 112name = "clang-sys_build_script" , 113srcs = glob ( 114include = [ 115"**/*.rs" , 116], 117exclude = [ 118], 119), 120aliases = selects . with_or ({ 121"//conditions:default" : { 122}, 123}), 124build_script_env = { 125}, 126compile_data = select_with_or ({ 127"//conditions:default" : [ 128], 129}), 130crate_features = [ 131"clang_3_5" , 132"clang_3_6" , 133"clang_3_7" , 134"clang_3_8" , 135"clang_3_9" , 136"clang_4_0" , 137"clang_5_0" , 138"clang_6_0" , 139"libloading" , 140"runtime" , 141], 142crate_name = "build_script_build" , 143crate_root = "build.rs" , 144data = glob ([ "**" ]) + select_with_or ({ 145"//conditions:default" : [ 146], 147}), 148edition = "2015" , 149links = "clang" , 150proc_macro_deps = [ 151] + select_with_or ({ 152"//conditions:default" : [ 153], 154}), 155rustc_env = { 156}, 157rustc_env_files = select_with_or ({ 158"//conditions:default" : [ 159], 160}), 161rustc_flags = [ 162# In most cases, warnings in 3rd party crates are not interesting as 163# they're out of the control of consumers. The flag here silences 164# warnings. For more details see: 165# https://doc.rust-lang.org/rustc/lints/levels.html 166"--cap-lints=allow" , 167], 168tags = [ 169"cargo-bazel" , 170"manual" , 171"noclippy" , 172"norustfmt" , 173], 174tools = select_with_or ({ 175"//conditions:default" : [ 176], 177}), 178version = "1.3.3" , 179visibility = [ "//visibility:private" ], 180deps = [ 181] + select_with_or ({ 182"//conditions:default" : [ 183"@rules_rust_bindgen__glob-0.3.0//:glob" , 184], 185}), 186) 187 188alias ( 189# Because `cargo_build_script` does some invisible target name mutating to 190# determine the package and crate name for a build script, the Bazel 191# target namename of any build script cannot be the Cargo canonical name 192# of `build_script_build` without losing out on having certain Cargo 193# environment variables set. 194name = "build_script_build" , 195actual = "clang-sys_build_script" , 196tags = [ 197"manual" , 198], 199)