blob: 42098bd4712462cfc8c54522449e4312ea50f843 [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
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(
Leopold2aa8b182023-01-14 23:31:43 +010013 "@rules_rust//rust:defs.bzl",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020014 "rust_binary",
15 "rust_library",
Leopold2aa8b182023-01-14 23:31:43 +010016 "rust_proc_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020017 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/rust/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # MIT from expression "MIT OR Apache-2.0"
30])
31
32# Generated Targets
33# buildifier: disable=out-of-order-load
34# buildifier: disable=load-on-top
35load(
36 "@rules_rust//cargo:cargo_build_script.bzl",
37 "cargo_build_script",
38)
39
40cargo_build_script(
Leopold2aa8b182023-01-14 23:31:43 +010041 name = "wasm_bindgen_build_script",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020042 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020045 crate_root = "build.rs",
46 data = glob(["**"]),
47 edition = "2018",
48 rustc_flags = [
49 "--cap-lints=allow",
50 ],
51 tags = [
52 "cargo-raze",
53 "manual",
54 ],
Leopold2aa8b182023-01-14 23:31:43 +010055 version = "0.2.83",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020056 visibility = ["//visibility:private"],
57 deps = [
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020058 ],
59)
60
61rust_library(
Leopold2aa8b182023-01-14 23:31:43 +010062 name = "wasm_bindgen",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020063 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020064 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020065 data = [],
66 edition = "2018",
67 proc_macro_deps = [
Leopold2aa8b182023-01-14 23:31:43 +010068 "@raze__wasm_bindgen_macro__0_2_83//:wasm_bindgen_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020069 ],
70 rustc_flags = [
71 "--cap-lints=allow",
72 ],
73 tags = [
74 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010075 "crate-name=wasm-bindgen",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020076 "manual",
77 ],
Leopold2aa8b182023-01-14 23:31:43 +010078 version = "0.2.83",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020079 # buildifier: leave-alone
80 deps = [
Leopold2aa8b182023-01-14 23:31:43 +010081 ":wasm_bindgen_build_script",
82 "@raze__cfg_if__1_0_0//:cfg_if",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020083 ],
84)
Leopold2aa8b182023-01-14 23:31:43 +010085
86# Unsupported target "headless" with type "test" omitted
87
88# Unsupported target "must_use" with type "test" omitted
89
90# Unsupported target "non_wasm" with type "test" omitted
91
92# Unsupported target "std-crate-no-std-dep" with type "test" omitted
93
94# Unsupported target "unwrap_throw" with type "test" omitted
95
96# Unsupported target "wasm" with type "test" omitted