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", # ISC from expression "ISC" |
| 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 = "libloading_build_script", |
| 42 | srcs = glob(["**/*.rs"]), |
| 43 | build_script_env = { |
| 44 | }, |
| 45 | crate_features = [ |
| 46 | ], |
| 47 | crate_root = "build.rs", |
| 48 | data = glob(["**"]), |
| 49 | edition = "2015", |
| 50 | rustc_flags = [ |
| 51 | "--cap-lints=allow", |
| 52 | ], |
| 53 | tags = [ |
| 54 | "cargo-raze", |
| 55 | "manual", |
| 56 | ], |
| 57 | version = "0.6.3", |
| 58 | visibility = ["//visibility:private"], |
| 59 | deps = [ |
| 60 | ] + selects.with_or({ |
| 61 | # cfg(unix) |
| 62 | ( |
| 63 | "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| 64 | "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| 65 | "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| 66 | ): [ |
| 67 | ], |
| 68 | "//conditions:default": [], |
| 69 | }), |
| 70 | ) |
| 71 | |
| 72 | rust_library( |
| 73 | name = "libloading", |
| 74 | srcs = glob(["**/*.rs"]), |
| 75 | aliases = { |
| 76 | }, |
| 77 | crate_features = [ |
| 78 | ], |
| 79 | crate_root = "src/lib.rs", |
| 80 | data = [], |
| 81 | edition = "2015", |
| 82 | rustc_flags = [ |
| 83 | "--cap-lints=allow", |
| 84 | ], |
| 85 | tags = [ |
| 86 | "cargo-raze", |
| 87 | "crate-name=libloading", |
| 88 | "manual", |
| 89 | ], |
| 90 | version = "0.6.3", |
| 91 | # buildifier: leave-alone |
| 92 | deps = [ |
| 93 | ":libloading_build_script", |
| 94 | ] + selects.with_or({ |
| 95 | # cfg(unix) |
| 96 | ( |
| 97 | "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| 98 | "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| 99 | "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| 100 | ): [ |
| 101 | "@raze__cfg_if__0_1_10//:cfg_if", |
| 102 | ], |
| 103 | "//conditions:default": [], |
| 104 | }), |
| 105 | ) |
| 106 | |
| 107 | # Unsupported target "constants" with type "test" omitted |
| 108 | |
| 109 | # Unsupported target "functions" with type "test" omitted |
| 110 | |
| 111 | # Unsupported target "library_filename" with type "test" omitted |
| 112 | |
| 113 | # Unsupported target "markers" with type "test" omitted |
| 114 | |
| 115 | # Unsupported target "windows" with type "test" omitted |