fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
87eb807e
0.5.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 OR Apache-2.0 28# ]) 29 30rust_library ( 31name = "proc_macro_error" , 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"default" , 49"syn" , 50"syn-error" , 51], 52crate_root = "src/lib.rs" , 53data = select_with_or ({ 54"//conditions:default" : [ 55], 56}), 57edition = "2018" , 58proc_macro_deps = [ 59] + select_with_or ({ 60"//conditions:default" : [ 61"@crate_universe_crate_index__proc-macro-error-attr-1.0.4//:proc_macro_error_attr" , 62], 63}), 64rustc_env = { 65}, 66rustc_env_files = select_with_or ({ 67"//conditions:default" : [ 68], 69}), 70rustc_flags = [ 71# In most cases, warnings in 3rd party crates are not interesting as 72# they're out of the control of consumers. The flag here silences 73# warnings. For more details see: 74# https://doc.rust-lang.org/rustc/lints/levels.html 75"--cap-lints=allow" , 76] + select_with_or ({ 77"//conditions:default" : [ 78], 79}), 80tags = [ 81"cargo-bazel" , 82"manual" , 83"noclippy" , 84"norustfmt" , 85], 86version = "1.0.4" , 87deps = [ 88] + select_with_or ({ 89"//conditions:default" : [ 90"@crate_universe_crate_index__proc-macro-error-1.0.4//:build_script_build" , 91"@crate_universe_crate_index__proc-macro2-1.0.39//:proc_macro2" , 92"@crate_universe_crate_index__quote-1.0.18//:quote" , 93"@crate_universe_crate_index__syn-1.0.90//:syn" , 94], 95}), 96) 97 98cargo_build_script ( 99# See comment associated with alias. Do not change this name 100name = "proc-macro-error_build_script" , 101srcs = glob ( 102include = [ 103"**/*.rs" , 104], 105exclude = [ 106], 107), 108aliases = selects . with_or ({ 109"//conditions:default" : { 110}, 111}), 112build_script_env = { 113}, 114compile_data = select_with_or ({ 115"//conditions:default" : [ 116], 117}), 118crate_features = [ 119"default" , 120"syn" , 121"syn-error" , 122], 123crate_name = "build_script_build" , 124crate_root = "build.rs" , 125data = glob ([ "**" ]) + select_with_or ({ 126"//conditions:default" : [ 127], 128}), 129edition = "2018" , 130proc_macro_deps = [ 131] + select_with_or ({ 132"//conditions:default" : [ 133], 134}), 135rustc_env = { 136}, 137rustc_env_files = select_with_or ({ 138"//conditions:default" : [ 139], 140}), 141rustc_flags = [ 142# In most cases, warnings in 3rd party crates are not interesting as 143# they're out of the control of consumers. The flag here silences 144# warnings. For more details see: 145# https://doc.rust-lang.org/rustc/lints/levels.html 146"--cap-lints=allow" , 147] + select_with_or ({ 148"//conditions:default" : [ 149], 150}), 151tags = [ 152"cargo-bazel" , 153"manual" , 154"noclippy" , 155"norustfmt" , 156], 157tools = select_with_or ({ 158"//conditions:default" : [ 159], 160}), 161version = "1.0.4" , 162visibility = [ "//visibility:private" ], 163deps = [ 164] + select_with_or ({ 165"//conditions:default" : [ 166"@crate_universe_crate_index__version_check-0.9.4//:version_check" , 167], 168}), 169) 170 171alias ( 172# Because `cargo_build_script` does some invisible target name mutating to 173# determine the package and crate name for a build script, the Bazel 174# target namename of any build script cannot be the Cargo canonical name 175# of `build_script_build` without losing out on having certain Cargo 176# environment variables set. 177name = "build_script_build" , 178actual = "proc-macro-error_build_script" , 179tags = [ 180"manual" , 181], 182)