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 | # buildifier: disable=out-of-order-load |
| 34 | # buildifier: disable=load-on-top |
| 35 | load( |
| 36 | "@rules_rust//cargo:cargo_build_script.bzl", |
| 37 | "cargo_build_script", |
| 38 | ) |
| 39 | |
| 40 | cargo_build_script( |
| 41 | name = "link_cplusplus_build_script", |
| 42 | srcs = glob(["**/*.rs"]), |
| 43 | build_script_env = { |
| 44 | }, |
| 45 | crate_features = [ |
| 46 | "default", |
| 47 | "nothing", |
| 48 | ], |
| 49 | crate_root = "build.rs", |
| 50 | data = glob(["**"]), |
| 51 | edition = "2018", |
| 52 | links = "cplusplus", |
| 53 | rustc_flags = [ |
| 54 | "--cap-lints=allow", |
| 55 | ], |
| 56 | tags = [ |
| 57 | "cargo-raze", |
| 58 | "manual", |
| 59 | ], |
| 60 | version = "1.0.6", |
| 61 | visibility = ["//visibility:private"], |
| 62 | deps = [ |
| 63 | "@raze__cc__1_0_73//:cc", |
| 64 | ], |
| 65 | ) |
| 66 | |
| 67 | rust_library( |
| 68 | name = "link_cplusplus", |
| 69 | srcs = glob(["**/*.rs"]), |
| 70 | crate_features = [ |
| 71 | "default", |
| 72 | "nothing", |
| 73 | ], |
| 74 | crate_root = "src/lib.rs", |
| 75 | data = [], |
| 76 | edition = "2018", |
| 77 | rustc_flags = [ |
| 78 | "--cap-lints=allow", |
| 79 | ], |
| 80 | tags = [ |
| 81 | "cargo-raze", |
| 82 | "crate-name=link-cplusplus", |
| 83 | "manual", |
| 84 | ], |
| 85 | version = "1.0.6", |
| 86 | # buildifier: leave-alone |
| 87 | deps = [ |
| 88 | ":link_cplusplus_build_script", |
| 89 | ], |
| 90 | ) |