fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
e48c834a
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) 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 ([ "**" ]) + select_with_or ({ 41"//conditions:default" : [ 42], 43}), 44crate_features = [ 45"jobserver" , 46"parallel" , 47], 48crate_root = "src/lib.rs" , 49data = select_with_or ({ 50"//conditions:default" : [ 51], 52}), 53edition = "2018" , 54proc_macro_deps = [ 55] + select_with_or ({ 56"//conditions:default" : [ 57], 58}), 59rustc_env = { 60}, 61rustc_env_files = select_with_or ({ 62"//conditions:default" : [ 63], 64}), 65rustc_flags = [ 66# In most cases, warnings in 3rd party crates are not interesting as 67# they're out of the control of consumers. The flag here silences 68# warnings. For more details see: 69# https://doc.rust-lang.org/rustc/lints/levels.html 70"--cap-lints=allow" , 71] + select_with_or ({ 72"//conditions:default" : [ 73], 74}), 75tags = [ 76"cargo-bazel" , 77"manual" , 78"noclippy" , 79"norustfmt" , 80], 81version = "1.0.73" , 82deps = [ 83] + select_with_or ({ 84"//conditions:default" : [ 85"@crate_universe_crate_index__jobserver-0.1.24//:jobserver" , 86], 87}), 88) 89 90rust_binary ( 91name = "gcc-shim__bin" , 92srcs = glob ( 93include = [ 94"**/*.rs" , 95], 96exclude = [ 97], 98), 99aliases = selects . with_or ({ 100"//conditions:default" : { 101}, 102}), 103compile_data = glob ([ "**" ]) + select_with_or ({ 104"//conditions:default" : [ 105], 106}), 107crate_features = [ 108"jobserver" , 109"parallel" , 110], 111crate_root = "src/bin/gcc-shim.rs" , 112data = select_with_or ({ 113"//conditions:default" : [ 114], 115}), 116edition = "2018" , 117proc_macro_deps = [ 118] + select_with_or ({ 119"//conditions:default" : [ 120], 121}), 122rustc_env = { 123}, 124rustc_env_files = select_with_or ({ 125"//conditions:default" : [ 126], 127}), 128rustc_flags = [ 129# In most cases, warnings in 3rd party crates are not interesting as 130# they're out of the control of consumers. The flag here silences 131# warnings. For more details see: 132# https://doc.rust-lang.org/rustc/lints/levels.html 133"--cap-lints=allow" , 134] + select_with_or ({ 135"//conditions:default" : [ 136], 137}), 138tags = [ 139"cargo-bazel" , 140"manual" , 141"noclippy" , 142"norustfmt" , 143], 144version = "1.0.73" , 145deps = [ 146":cc" , 147] + select_with_or ({ 148"//conditions:default" : [ 149"@crate_universe_crate_index__jobserver-0.1.24//:jobserver" , 150], 151}), 152)