fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

UebelAndreRegenerated `cargo-raze` outputs with v0.15.0 (#1184)5e6ad9f6

0.5.0
2.3 KiB106 linesraw
1"""
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 "//wasm_bindgen/raze", 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(
41    name = "wasm_bindgen_build_script",
42    srcs = glob(["**/*.rs"]),
43    build_script_env = {
44    },
45    crate_features = [
46        "default",
47        "spans",
48        "std",
49    ],
50    crate_root = "build.rs",
51    data = glob(["**"]),
52    edition = "2018",
53    rustc_flags = [
54        "--cap-lints=allow",
55    ],
56    tags = [
57        "cargo-raze",
58        "manual",
59    ],
60    version = "0.2.78",
61    visibility = ["//visibility:private"],
62    deps = [
63    ],
64)
65
66rust_library(
67    name = "wasm_bindgen",
68    srcs = glob(["**/*.rs"]),
69    crate_features = [
70        "default",
71        "spans",
72        "std",
73    ],
74    crate_root = "src/lib.rs",
75    data = [],
76    edition = "2018",
77    proc_macro_deps = [
78        "@rules_rust_wasm_bindgen__wasm_bindgen_macro__0_2_78//:wasm_bindgen_macro",
79    ],
80    rustc_flags = [
81        "--cap-lints=allow",
82    ],
83    tags = [
84        "cargo-raze",
85        "crate-name=wasm-bindgen",
86        "manual",
87    ],
88    version = "0.2.78",
89    # buildifier: leave-alone
90    deps = [
91        ":wasm_bindgen_build_script",
92        "@rules_rust_wasm_bindgen__cfg_if__1_0_0//:cfg_if",
93    ],
94)
95
96# Unsupported target "headless" with type "test" omitted
97
98# Unsupported target "must_use" with type "test" omitted
99
100# Unsupported target "non_wasm" with type "test" omitted
101
102# Unsupported target "std-crate-no-std-dep" with type "test" omitted
103
104# Unsupported target "unwrap_throw" with type "test" omitted
105
106# Unsupported target "wasm" with type "test" omitted