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) 12 13# buildifier: disable=bzl-visibility 14load ( "@rules_rust//crate_universe/private:selects.bzl" , "select_with_or" ) 15load ( 16"@rules_rust//rust:defs.bzl" , 17"rust_binary" , 18"rust_library" , 19) 20 21package ( default_visibility = [ "//visibility:public" ]) 22 23# licenses([ 24# "TODO", # MIT/Apache-2.0 25# ]) 26 27rust_library ( 28name = "cc" , 29srcs = glob ( 30include = [ 31"**/*.rs" , 32], 33exclude = [ 34], 35), 36aliases = selects . with_or ({ 37"//conditions:default" : { 38}, 39}), 40compile_data = glob ( 41include = [ "**" ], 42exclude = [ 43"BUILD" , 44"BUILD.bazel" , 45"WORKSPACE" , 46"WORKSPACE.bazel" , 47], 48) + select_with_or ({ 49"//conditions:default" : [ 50], 51}), 52crate_features = [ 53"jobserver" , 54"parallel" , 55], 56crate_root = "src/lib.rs" , 57data = select_with_or ({ 58"//conditions:default" : [ 59], 60}), 61edition = "2018" , 62proc_macro_deps = [ 63] + select_with_or ({ 64"//conditions:default" : [ 65], 66}), 67rustc_env = { 68}, 69rustc_env_files = select_with_or ({ 70"//conditions:default" : [ 71], 72}), 73rustc_flags = [ 74# In most cases, warnings in 3rd party crates are not interesting as 75# they're out of the control of consumers. The flag here silences 76# warnings. For more details see: 77# https://doc.rust-lang.org/rustc/lints/levels.html 78"--cap-lints=allow" , 79], 80tags = [ 81"cargo-bazel" , 82"manual" , 83"noclippy" , 84"norustfmt" , 85], 86version = "1.0.73" , 87deps = [ 88] + select_with_or ({ 89"//conditions:default" : [ 90"@crate_universe_crate_index__jobserver-0.1.24//:jobserver" , 91], 92}), 93) 94 95rust_binary ( 96name = "gcc-shim__bin" , 97srcs = glob ( 98include = [ 99"**/*.rs" , 100], 101exclude = [ 102], 103), 104aliases = selects . with_or ({ 105"//conditions:default" : { 106}, 107}), 108compile_data = glob ( 109include = [ "**" ], 110exclude = [ 111"BUILD" , 112"BUILD.bazel" , 113"WORKSPACE" , 114"WORKSPACE.bazel" , 115], 116) + select_with_or ({ 117"//conditions:default" : [ 118], 119}), 120crate_features = [ 121"jobserver" , 122"parallel" , 123], 124crate_root = "src/bin/gcc-shim.rs" , 125data = 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], 148tags = [ 149"cargo-bazel" , 150"manual" , 151"noclippy" , 152"norustfmt" , 153], 154version = "1.0.73" , 155deps = [ 156":cc" , 157] + select_with_or ({ 158"//conditions:default" : [ 159"@crate_universe_crate_index__jobserver-0.1.24//:jobserver" , 160], 161}), 162)