blob: 960ebea4a44b5b17952ea2affb0cf472bc63f470 [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"]),
Leopold2aa8b182023-01-14 23:31:43 +010039 crate_root = "src/bin/gcc-shim.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020040 data = [],
41 edition = "2018",
42 rustc_flags = [
43 "--cap-lints=allow",
44 ],
45 tags = [
46 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010047 "crate-name=gcc-shim",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020048 "manual",
49 ],
Leopold2aa8b182023-01-14 23:31:43 +010050 version = "1.0.78",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020051 # buildifier: leave-alone
52 deps = [
Leopold2aa8b182023-01-14 23:31:43 +010053 ":cc",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020054 ],
55)
56
57rust_library(
Leopold2aa8b182023-01-14 23:31:43 +010058 name = "cc",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020059 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020060 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020061 data = [],
62 edition = "2018",
63 rustc_flags = [
64 "--cap-lints=allow",
65 ],
66 tags = [
67 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010068 "crate-name=cc",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020069 "manual",
70 ],
Leopold2aa8b182023-01-14 23:31:43 +010071 version = "1.0.78",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020072 # buildifier: leave-alone
73 deps = [
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020074 ],
75)
Leopold2aa8b182023-01-14 23:31:43 +010076
77# Unsupported target "cc_env" with type "test" omitted
78
79# Unsupported target "cflags" with type "test" omitted
80
81# Unsupported target "cxxflags" with type "test" omitted
82
83# Unsupported target "test" with type "test" omitted