| """ |
| @generated |
| cargo-raze crate build file. |
| |
| DO NOT EDIT! Replaced on runs of cargo-raze |
| """ |
| |
| # buildifier: disable=load |
| load("@bazel_skylib//lib:selects.bzl", "selects") |
| |
| # buildifier: disable=load |
| load( |
| "@rules_rust//rust:defs.bzl", |
| "rust_binary", |
| "rust_library", |
| "rust_proc_macro", |
| "rust_test", |
| ) |
| |
| package(default_visibility = [ |
| # Public for visibility by "@raze__crate__version//" targets. |
| # |
| # Prefer access through "//third_party/cargo", which limits external |
| # visibility to explicit Cargo.toml dependencies. |
| "//visibility:public", |
| ]) |
| |
| licenses([ |
| "notice", # MIT from expression "MIT OR Apache-2.0" |
| ]) |
| |
| # Generated Targets |
| |
| rust_binary( |
| # Prefix bin name to disambiguate from (probable) collision with lib name |
| # N.B.: The exact form of this is subject to change. |
| name = "cargo_bin_cxxbridge", |
| srcs = glob(["**/*.rs"]), |
| crate_features = [ |
| ], |
| crate_root = "src/main.rs", |
| data = [], |
| compile_data = ["src/gen/include/cxx.h"], |
| edition = "2018", |
| rustc_flags = [ |
| "--cap-lints=allow", |
| ], |
| tags = [ |
| "cargo-raze", |
| "crate-name=cxxbridge", |
| "manual", |
| ], |
| version = "1.0.77", |
| # buildifier: leave-alone |
| deps = [ |
| ":cxxbridge_cmd", |
| "@raze__clap__3_2_23//:clap", |
| "@raze__codespan_reporting__0_11_1//:codespan_reporting", |
| "@raze__proc_macro2__1_0_49//:proc_macro2", |
| "@raze__quote__1_0_23//:quote", |
| "@raze__syn__1_0_107//:syn", |
| ], |
| ) |
| |
| rust_library( |
| name = "cxxbridge_cmd", |
| srcs = glob(["**/*.rs"]), |
| crate_features = [ |
| ], |
| crate_root = "src/lib.rs", |
| data = [], |
| compile_data = ["src/gen/include/cxx.h"], |
| edition = "2018", |
| rustc_flags = [ |
| "--cap-lints=allow", |
| ], |
| tags = [ |
| "cargo-raze", |
| "crate-name=cxxbridge-cmd", |
| "manual", |
| ], |
| version = "1.0.77", |
| # buildifier: leave-alone |
| deps = [ |
| "@raze__clap__3_2_23//:clap", |
| "@raze__codespan_reporting__0_11_1//:codespan_reporting", |
| "@raze__proc_macro2__1_0_49//:proc_macro2", |
| "@raze__quote__1_0_23//:quote", |
| "@raze__syn__1_0_107//:syn", |
| ], |
| ) |