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 | |
| 34 | rust_library( |
| 35 | name = "libloading", |
| 36 | srcs = glob(["**/*.rs"]), |
| 37 | aliases = { |
| 38 | }, |
| 39 | crate_features = [ |
| 40 | ], |
| 41 | crate_root = "src/lib.rs", |
| 42 | data = [], |
| 43 | edition = "2015", |
| 44 | rustc_flags = [ |
| 45 | "--cap-lints=allow", |
| 46 | ], |
| 47 | tags = [ |
| 48 | "cargo-raze", |
| 49 | "crate-name=libloading", |
| 50 | "manual", |
| 51 | ], |
Brian Silverman | a7ba251 | 2022-12-19 19:13:52 -0800 | [diff] [blame^] | 52 | version = "0.7.4", |
Brian Silverman | 547eda0 | 2022-05-19 23:14:08 -0700 | [diff] [blame] | 53 | # buildifier: leave-alone |
| 54 | deps = [ |
| 55 | ] + selects.with_or({ |
| 56 | # cfg(unix) |
| 57 | ( |
| 58 | "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| 59 | "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| 60 | "@rules_rust//rust/platform:armv7-unknown-linux-gnueabihf", |
| 61 | ): [ |
| 62 | "@raze__cfg_if__1_0_0//:cfg_if", |
| 63 | ], |
| 64 | "//conditions:default": [], |
| 65 | }), |
| 66 | ) |
| 67 | |
| 68 | # Unsupported target "constants" with type "test" omitted |
| 69 | |
| 70 | # Unsupported target "functions" with type "test" omitted |
| 71 | |
| 72 | # Unsupported target "library_filename" with type "test" omitted |
| 73 | |
| 74 | # Unsupported target "markers" with type "test" omitted |
| 75 | |
| 76 | # Unsupported target "windows" with type "test" omitted |