blob: be56978fa95e200b791dd95a6eb690fefacd7225 [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([
Leopold2aa8b182023-01-14 23:31:43 +010029 "notice", # MIT from expression "MIT OR Apache-2.0"
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020030])
31
32# Generated Targets
33
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020034rust_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.
Leopold2aa8b182023-01-14 23:31:43 +010037 name = "cargo_bin_gcc_shim",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020038 srcs = glob(["**/*.rs"]),
Lorenz Brund141d182023-10-02 15:07:01 +020039 aliases = {
40 },
Leopold2aa8b182023-01-14 23:31:43 +010041 crate_root = "src/bin/gcc-shim.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020042 data = [],
43 edition = "2018",
44 rustc_flags = [
45 "--cap-lints=allow",
46 ],
47 tags = [
48 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010049 "crate-name=gcc-shim",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020050 "manual",
51 ],
Lorenz Brund141d182023-10-02 15:07:01 +020052 version = "1.0.83",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020053 # buildifier: leave-alone
54 deps = [
Leopold2aa8b182023-01-14 23:31:43 +010055 ":cc",
Lorenz Brund141d182023-10-02 15:07:01 +020056 ] + selects.with_or({
57 (
58 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
59 ): [
60 "@raze__libc__0_2_148//:libc",
61 ],
62 "//conditions:default": [],
63 }),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020064)
65
66rust_library(
Leopold2aa8b182023-01-14 23:31:43 +010067 name = "cc",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020068 srcs = glob(["**/*.rs"]),
Lorenz Brund141d182023-10-02 15:07:01 +020069 aliases = {
70 },
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020071 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020072 data = [],
73 edition = "2018",
74 rustc_flags = [
75 "--cap-lints=allow",
76 ],
77 tags = [
78 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010079 "crate-name=cc",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020080 "manual",
81 ],
Lorenz Brund141d182023-10-02 15:07:01 +020082 version = "1.0.83",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020083 # buildifier: leave-alone
84 deps = [
Lorenz Brund141d182023-10-02 15:07:01 +020085 ] + selects.with_or({
86 (
87 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
88 ): [
89 "@raze__libc__0_2_148//:libc",
90 ],
91 "//conditions:default": [],
92 }),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020093)
Leopold2aa8b182023-01-14 23:31:43 +010094
95# Unsupported target "cc_env" with type "test" omitted
96
97# Unsupported target "cflags" with type "test" omitted
98
99# Unsupported target "cxxflags" with type "test" omitted
100
101# Unsupported target "test" with type "test" omitted