blob: 5612156838f1bb42522542e5e4f35c3056f01142 [file] [log] [blame]
Brian Silvermancc09f182022-03-09 15:40:20 -08001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13 "@rules_rust//rust:defs.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_proc_macro",
17 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//bindgen/raze", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # ISC from expression "ISC"
30])
31
32# Generated Targets
33
34rust_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 "manual",
50 ],
51 version = "0.7.0",
52 # buildifier: leave-alone
53 deps = [
54 ] + selects.with_or({
55 # cfg(unix)
56 (
57 "@rules_rust//rust/platform:i686-apple-darwin",
58 "@rules_rust//rust/platform:i686-unknown-linux-gnu",
59 "@rules_rust//rust/platform:x86_64-apple-darwin",
60 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
61 "@rules_rust//rust/platform:aarch64-apple-darwin",
62 "@rules_rust//rust/platform:aarch64-apple-ios",
63 "@rules_rust//rust/platform:aarch64-linux-android",
64 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
65 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
66 "@rules_rust//rust/platform:i686-linux-android",
67 "@rules_rust//rust/platform:i686-unknown-freebsd",
68 "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
69 "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
70 "@rules_rust//rust/platform:x86_64-apple-ios",
71 "@rules_rust//rust/platform:x86_64-linux-android",
72 "@rules_rust//rust/platform:x86_64-unknown-freebsd",
73 ): [
74 "@rules_rust_bindgen__cfg_if__1_0_0//:cfg_if",
75 ],
76 "//conditions:default": [],
77 }) + selects.with_or({
78 # cfg(windows)
79 (
80 "@rules_rust//rust/platform:i686-pc-windows-msvc",
81 "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
82 ): [
83 "@rules_rust_bindgen__winapi__0_3_9//:winapi",
84 ],
85 "//conditions:default": [],
86 }),
87)
88
89# Unsupported target "constants" with type "test" omitted
90
91# Unsupported target "functions" with type "test" omitted
92
93# Unsupported target "library_filename" with type "test" omitted
94
95# Unsupported target "markers" with type "test" omitted
96
97# Unsupported target "windows" with type "test" omitted