fork/rules_rust

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

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

0.7.0
2.0 KiB93 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 "//sys/complex/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
34rust_binary(
35    # Prefix bin name to disambiguate from (probable) collision with lib name
36    # N.B.: The exact form of this is subject to change.
37    name = "cargo_bin_gcc_shim",
38    srcs = glob(["**/*.rs"]),
39    crate_features = [
40        "jobserver",
41        "parallel",
42    ],
43    crate_root = "src/bin/gcc-shim.rs",
44    data = [],
45    edition = "2018",
46    rustc_flags = [
47        "--cap-lints=allow",
48    ],
49    tags = [
50        "cargo-raze",
51        "crate-name=gcc-shim",
52        "manual",
53    ],
54    version = "1.0.69",
55    # buildifier: leave-alone
56    deps = [
57        ":cc",
58        "@complex_sys__jobserver__0_1_23//:jobserver",
59    ],
60)
61
62rust_library(
63    name = "cc",
64    srcs = glob(["**/*.rs"]),
65    crate_features = [
66        "jobserver",
67        "parallel",
68    ],
69    crate_root = "src/lib.rs",
70    data = [],
71    edition = "2018",
72    rustc_flags = [
73        "--cap-lints=allow",
74    ],
75    tags = [
76        "cargo-raze",
77        "crate-name=cc",
78        "manual",
79    ],
80    version = "1.0.69",
81    # buildifier: leave-alone
82    deps = [
83        "@complex_sys__jobserver__0_1_23//:jobserver",
84    ],
85)
86
87# Unsupported target "cc_env" with type "test" omitted
88
89# Unsupported target "cflags" with type "test" omitted
90
91# Unsupported target "cxxflags" with type "test" omitted
92
93# Unsupported target "test" with type "test" omitted