blob: 5c90aa8b7133c406cdfef4617fb21e4ea7b5aacc [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 #
Lorenz Brund141d182023-10-02 15:07:01 +020023 # Prefer access through "//third_party/rust_efi/cargo", which limits external
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020024 # 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
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020034# Unsupported target "parse" with type "bench" omitted
35
Lorenz Brund141d182023-10-02 15:07:01 +020036# Unsupported target "custom_bits_type" with type "example" omitted
37
38# Unsupported target "custom_derive" with type "example" omitted
39
40# Unsupported target "fmt" with type "example" omitted
41
42# Unsupported target "macro_free" with type "example" omitted
43
44# Unsupported target "serde" with type "example" omitted
45
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020046rust_library(
Lorenz Brund141d182023-10-02 15:07:01 +020047 name = "bitflags",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020048 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020049 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020050 data = [],
Lorenz Brund141d182023-10-02 15:07:01 +020051 edition = "2021",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020052 rustc_flags = [
53 "--cap-lints=allow",
54 ],
55 tags = [
56 "cargo-raze",
Lorenz Brund141d182023-10-02 15:07:01 +020057 "crate-name=bitflags",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020058 "manual",
59 ],
Lorenz Brund141d182023-10-02 15:07:01 +020060 version = "2.4.0",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020061 # buildifier: leave-alone
62 deps = [
63 ],
64)