blob: 29026c18d8fa4031198aee5de276c0fea9233efe [file] [log] [blame]
Adam Snaider1c095c92023-07-08 02:09:58 -04001###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6# bazel run @//wasm_bindgen/3rdparty:crates_vendor
7###############################################################################
8
9load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load("@rules_rust//rust:defs.bzl", "rust_library")
11
12package(default_visibility = ["//visibility:public"])
13
14# licenses([
15# "TODO", # MIT OR Apache-2.0
16# ])
17
18rust_library(
19 name = "link_cplusplus",
20 srcs = glob(["**/*.rs"]),
21 compile_data = glob(
22 include = ["**"],
23 exclude = [
24 "**/* *",
25 ".tmp_git_root/**/*",
26 "BUILD",
27 "BUILD.bazel",
28 "WORKSPACE",
29 "WORKSPACE.bazel",
30 ],
31 ),
32 crate_root = "src/lib.rs",
33 edition = "2018",
34 rustc_flags = ["--cap-lints=allow"],
35 tags = [
36 "cargo-bazel",
37 "crate-name=link-cplusplus",
38 "manual",
39 "noclippy",
40 "norustfmt",
41 ],
42 target_compatible_with = select({
43 "@rules_rust//rust/platform:aarch64-apple-darwin": [],
44 "@rules_rust//rust/platform:aarch64-apple-ios": [],
45 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
46 "@rules_rust//rust/platform:aarch64-fuchsia": [],
47 "@rules_rust//rust/platform:aarch64-linux-android": [],
48 "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
49 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
50 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
51 "@rules_rust//rust/platform:armv7-linux-androideabi": [],
52 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
53 "@rules_rust//rust/platform:i686-apple-darwin": [],
54 "@rules_rust//rust/platform:i686-linux-android": [],
55 "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
56 "@rules_rust//rust/platform:i686-unknown-freebsd": [],
57 "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
58 "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
59 "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
60 "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
61 "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
62 "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
63 "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
64 "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
65 "@rules_rust//rust/platform:wasm32-wasi": [],
66 "@rules_rust//rust/platform:x86_64-apple-darwin": [],
67 "@rules_rust//rust/platform:x86_64-apple-ios": [],
68 "@rules_rust//rust/platform:x86_64-fuchsia": [],
69 "@rules_rust//rust/platform:x86_64-linux-android": [],
70 "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
71 "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
72 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
73 "@rules_rust//rust/platform:x86_64-unknown-none": [],
74 "//conditions:default": ["@platforms//:incompatible"],
75 }),
76 version = "1.0.8",
77 deps = [
78 "@rules_rust_wasm_bindgen__link-cplusplus-1.0.8//:build_script_build",
79 ],
80)
81
82cargo_build_script(
83 name = "link-cplusplus_build_script",
84 srcs = glob(["**/*.rs"]),
85 crate_name = "build_script_build",
86 crate_root = "build.rs",
87 data = glob(
88 include = ["**"],
89 exclude = [
90 "**/* *",
91 ".tmp_git_root/**/*",
92 "BUILD",
93 "BUILD.bazel",
94 "WORKSPACE",
95 "WORKSPACE.bazel",
96 ],
97 ),
98 edition = "2018",
99 links = "cplusplus",
100 rustc_flags = [
101 "--cap-lints=allow",
102 ],
103 tags = [
104 "cargo-bazel",
105 "crate-name=link-cplusplus",
106 "manual",
107 "noclippy",
108 "norustfmt",
109 ],
110 version = "1.0.8",
111 visibility = ["//visibility:private"],
112 deps = [
113 "@rules_rust_wasm_bindgen__cc-1.0.78//:cc",
114 ],
115)
116
117alias(
118 name = "build_script_build",
119 actual = "link-cplusplus_build_script",
120 tags = ["manual"],
121)