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