Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 1 | """ |
| 2 | @generated |
| 3 | cargo-raze crate build file. |
| 4 | |
| 5 | DO NOT EDIT! Replaced on runs of cargo-raze |
| 6 | """ |
| 7 | |
| 8 | # buildifier: disable=load |
| 9 | load("@bazel_skylib//lib:selects.bzl", "selects") |
| 10 | |
| 11 | # buildifier: disable=load |
| 12 | load( |
| 13 | "@rules_rust//rust:defs.bzl", |
| 14 | "rust_binary", |
| 15 | "rust_library", |
| 16 | "rust_proc_macro", |
| 17 | "rust_test", |
| 18 | ) |
| 19 | |
| 20 | package(default_visibility = [ |
| 21 | # Public for visibility by "@raze__crate__version//" targets. |
| 22 | # |
| 23 | # Prefer access through "//third_party/cargo", which limits external |
| 24 | # visibility to explicit Cargo.toml dependencies. |
| 25 | "//visibility:public", |
| 26 | ]) |
| 27 | |
| 28 | licenses([ |
| 29 | "notice", # MIT from expression "MIT OR Apache-2.0" |
| 30 | ]) |
| 31 | |
| 32 | # Generated Targets |
| 33 | |
| 34 | rust_binary( |
| 35 | # Prefix bin name to disambiguate from (probable) collision with lib name |
| 36 | # N.B.: The exact form of this is subject to change. |
| 37 | name = "cargo_bin_cxxbridge", |
| 38 | srcs = glob(["**/*.rs"]), |
| 39 | crate_features = [ |
| 40 | ], |
| 41 | crate_root = "src/main.rs", |
| 42 | data = [], |
| 43 | compile_data = ["src/gen/include/cxx.h"], |
| 44 | edition = "2018", |
| 45 | rustc_flags = [ |
| 46 | "--cap-lints=allow", |
| 47 | ], |
| 48 | tags = [ |
| 49 | "cargo-raze", |
| 50 | "crate-name=cxxbridge", |
| 51 | "manual", |
| 52 | ], |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame^] | 53 | version = "1.0.77", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 54 | # buildifier: leave-alone |
| 55 | deps = [ |
| 56 | ":cxxbridge_cmd", |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame^] | 57 | "@raze__clap__3_2_23//:clap", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 58 | "@raze__codespan_reporting__0_11_1//:codespan_reporting", |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame^] | 59 | "@raze__proc_macro2__1_0_49//:proc_macro2", |
| 60 | "@raze__quote__1_0_23//:quote", |
| 61 | "@raze__syn__1_0_107//:syn", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 62 | ], |
| 63 | ) |
| 64 | |
| 65 | rust_library( |
| 66 | name = "cxxbridge_cmd", |
| 67 | srcs = glob(["**/*.rs"]), |
| 68 | crate_features = [ |
| 69 | ], |
| 70 | crate_root = "src/lib.rs", |
| 71 | data = [], |
| 72 | compile_data = ["src/gen/include/cxx.h"], |
| 73 | edition = "2018", |
| 74 | rustc_flags = [ |
| 75 | "--cap-lints=allow", |
| 76 | ], |
| 77 | tags = [ |
| 78 | "cargo-raze", |
| 79 | "crate-name=cxxbridge-cmd", |
| 80 | "manual", |
| 81 | ], |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame^] | 82 | version = "1.0.77", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 83 | # buildifier: leave-alone |
| 84 | deps = [ |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame^] | 85 | "@raze__clap__3_2_23//:clap", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 86 | "@raze__codespan_reporting__0_11_1//:codespan_reporting", |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame^] | 87 | "@raze__proc_macro2__1_0_49//:proc_macro2", |
| 88 | "@raze__quote__1_0_23//:quote", |
| 89 | "@raze__syn__1_0_107//:syn", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 90 | ], |
| 91 | ) |