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.1 KiB96 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 = "num_integer_build_script",
42    srcs = glob(["**/*.rs"]),
43    build_script_env = {
44    },
45    crate_features = [
46    ],
47    crate_root = "build.rs",
48    data = glob(["**"]),
49    edition = "2015",
50    rustc_flags = [
51        "--cap-lints=allow",
52    ],
53    tags = [
54        "cargo-raze",
55        "manual",
56    ],
57    version = "0.1.44",
58    visibility = ["//visibility:private"],
59    deps = [
60        "@rules_rust_wasm_bindgen__autocfg__1_0_1//:autocfg",
61    ],
62)
63
64# Unsupported target "average" with type "bench" omitted
65
66# Unsupported target "gcd" with type "bench" omitted
67
68# Unsupported target "roots" with type "bench" omitted
69
70rust_library(
71    name = "num_integer",
72    srcs = glob(["**/*.rs"]),
73    crate_features = [
74    ],
75    crate_root = "src/lib.rs",
76    data = [],
77    edition = "2015",
78    rustc_flags = [
79        "--cap-lints=allow",
80    ],
81    tags = [
82        "cargo-raze",
83        "crate-name=num-integer",
84        "manual",
85    ],
86    version = "0.1.44",
87    # buildifier: leave-alone
88    deps = [
89        ":num_integer_build_script",
90        "@rules_rust_wasm_bindgen__num_traits__0_2_14//:num_traits",
91    ],
92)
93
94# Unsupported target "average" with type "test" omitted
95
96# Unsupported target "roots" with type "test" omitted