blob: b4e5460d66739e093421e42db460a36a20c18252 [file] [log] [blame]
UebelAndre97264b72022-06-13 06:29:48 -07001###############################################################################
2# @generated
UebelAndre824b1212022-07-15 05:32:23 -07003# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
UebelAndre97264b72022-06-13 06:29:48 -07005#
UebelAndre92977d12023-01-03 10:06:40 -08006# bazel run @//wasm_bindgen/3rdparty:crates_vendor
UebelAndre97264b72022-06-13 06:29:48 -07007###############################################################################
8
David Tolnayd6e30032023-01-04 09:33:08 -08009load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
oliverek120339cd12023-04-09 17:49:12 -060010load("@rules_rust//rust:defs.bzl", "rust_library")
UebelAndre97264b72022-06-13 06:29:48 -070011
12package(default_visibility = ["//visibility:public"])
13
UebelAndre97264b72022-06-13 06:29:48 -070014rust_library(
15 name = "wasm_bindgen",
Cameron Martincf5f0bd2024-02-23 10:03:02 +000016 srcs = glob(
17 include = ["**/*.rs"],
18 allow_empty = False,
19 ),
UebelAndre824b1212022-07-15 05:32:23 -070020 compile_data = glob(
21 include = ["**"],
Cameron Martincf5f0bd2024-02-23 10:03:02 +000022 allow_empty = True,
UebelAndre824b1212022-07-15 05:32:23 -070023 exclude = [
UebelAndre91e597d2022-12-01 09:44:46 -080024 "**/* *",
Cameron Martin36f82512023-06-23 12:27:16 +010025 ".tmp_git_root/**/*",
UebelAndre91e597d2022-12-01 09:44:46 -080026 "BUILD",
David Tolnayd6e30032023-01-04 09:33:08 -080027 "BUILD.bazel",
UebelAndre91e597d2022-12-01 09:44:46 -080028 "WORKSPACE",
David Tolnayd6e30032023-01-04 09:33:08 -080029 "WORKSPACE.bazel",
UebelAndre824b1212022-07-15 05:32:23 -070030 ],
David Tolnayd6e30032023-01-04 09:33:08 -080031 ),
UebelAndre97264b72022-06-13 06:29:48 -070032 crate_features = [
33 "default",
34 "spans",
35 "std",
36 ],
37 crate_root = "src/lib.rs",
UebelAndre97264b72022-06-13 06:29:48 -070038 edition = "2018",
39 proc_macro_deps = [
Alex Kirszenberg5d33a762024-02-18 18:51:28 +010040 "@rules_rust_wasm_bindgen__wasm-bindgen-macro-0.2.91//:wasm_bindgen_macro",
UebelAndre97264b72022-06-13 06:29:48 -070041 ],
Nick Collier172b34a2024-02-14 00:37:38 +000042 rustc_flags = [
43 "--cap-lints=allow",
44 ],
UebelAndre97264b72022-06-13 06:29:48 -070045 tags = [
46 "cargo-bazel",
oliverek120339cd12023-04-09 17:49:12 -060047 "crate-name=wasm-bindgen",
UebelAndre97264b72022-06-13 06:29:48 -070048 "manual",
49 "noclippy",
50 "norustfmt",
51 ],
Cameron Martin36f82512023-06-23 12:27:16 +010052 target_compatible_with = select({
53 "@rules_rust//rust/platform:aarch64-apple-darwin": [],
54 "@rules_rust//rust/platform:aarch64-apple-ios": [],
55 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
56 "@rules_rust//rust/platform:aarch64-fuchsia": [],
57 "@rules_rust//rust/platform:aarch64-linux-android": [],
58 "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
59 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
Alex Kirszenbergdd944ed2024-01-02 15:12:12 +010060 "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
61 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
Cameron Martin36f82512023-06-23 12:27:16 +010062 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
63 "@rules_rust//rust/platform:armv7-linux-androideabi": [],
64 "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
65 "@rules_rust//rust/platform:i686-apple-darwin": [],
66 "@rules_rust//rust/platform:i686-linux-android": [],
67 "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
68 "@rules_rust//rust/platform:i686-unknown-freebsd": [],
69 "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
70 "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
71 "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
72 "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
73 "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
74 "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
75 "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
76 "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
77 "@rules_rust//rust/platform:wasm32-wasi": [],
78 "@rules_rust//rust/platform:x86_64-apple-darwin": [],
79 "@rules_rust//rust/platform:x86_64-apple-ios": [],
80 "@rules_rust//rust/platform:x86_64-fuchsia": [],
81 "@rules_rust//rust/platform:x86_64-linux-android": [],
82 "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
83 "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
84 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
Alex Kirszenbergdd944ed2024-01-02 15:12:12 +010085 "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [],
Cameron Martin36f82512023-06-23 12:27:16 +010086 "@rules_rust//rust/platform:x86_64-unknown-none": [],
87 "//conditions:default": ["@platforms//:incompatible"],
88 }),
Alex Kirszenberg5d33a762024-02-18 18:51:28 +010089 version = "0.2.91",
UebelAndre97264b72022-06-13 06:29:48 -070090 deps = [
David Tolnayd6e30032023-01-04 09:33:08 -080091 "@rules_rust_wasm_bindgen__cfg-if-1.0.0//:cfg_if",
Alex Kirszenberg5d33a762024-02-18 18:51:28 +010092 "@rules_rust_wasm_bindgen__wasm-bindgen-0.2.91//:build_script_build",
David Tolnayd6e30032023-01-04 09:33:08 -080093 ],
UebelAndre97264b72022-06-13 06:29:48 -070094)
95
96cargo_build_script(
Cameron Martin33fdddd2024-02-23 12:55:58 +000097 name = "wasm-bindgen_bs",
Cameron Martincf5f0bd2024-02-23 10:03:02 +000098 srcs = glob(
99 include = ["**/*.rs"],
100 allow_empty = False,
101 ),
UebelAndre97264b72022-06-13 06:29:48 -0700102 crate_features = [
103 "default",
104 "spans",
105 "std",
106 ],
107 crate_name = "build_script_build",
108 crate_root = "build.rs",
UebelAndre91e597d2022-12-01 09:44:46 -0800109 data = glob(
110 include = ["**"],
Cameron Martincf5f0bd2024-02-23 10:03:02 +0000111 allow_empty = True,
UebelAndre91e597d2022-12-01 09:44:46 -0800112 exclude = [
113 "**/* *",
Cameron Martin36f82512023-06-23 12:27:16 +0100114 ".tmp_git_root/**/*",
UebelAndre91e597d2022-12-01 09:44:46 -0800115 "BUILD",
David Tolnayd6e30032023-01-04 09:33:08 -0800116 "BUILD.bazel",
UebelAndre91e597d2022-12-01 09:44:46 -0800117 "WORKSPACE",
David Tolnayd6e30032023-01-04 09:33:08 -0800118 "WORKSPACE.bazel",
UebelAndre91e597d2022-12-01 09:44:46 -0800119 ],
David Tolnayd6e30032023-01-04 09:33:08 -0800120 ),
UebelAndre97264b72022-06-13 06:29:48 -0700121 edition = "2018",
UebelAndre97264b72022-06-13 06:29:48 -0700122 rustc_flags = [
UebelAndre97264b72022-06-13 06:29:48 -0700123 "--cap-lints=allow",
124 ],
125 tags = [
126 "cargo-bazel",
oliverek120339cd12023-04-09 17:49:12 -0600127 "crate-name=wasm-bindgen",
UebelAndre97264b72022-06-13 06:29:48 -0700128 "manual",
129 "noclippy",
130 "norustfmt",
131 ],
Alex Kirszenberg5d33a762024-02-18 18:51:28 +0100132 version = "0.2.91",
UebelAndre97264b72022-06-13 06:29:48 -0700133 visibility = ["//visibility:private"],
UebelAndre97264b72022-06-13 06:29:48 -0700134)
135
136alias(
UebelAndre97264b72022-06-13 06:29:48 -0700137 name = "build_script_build",
Cameron Martin33fdddd2024-02-23 12:55:58 +0000138 actual = ":wasm-bindgen_bs",
David Tolnayd6e30032023-01-04 09:33:08 -0800139 tags = ["manual"],
UebelAndre97264b72022-06-13 06:29:48 -0700140)