blob: aa2db0f43fbf49f9386233eea01c715f5d28c613 [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(
13 "@rules_rust//rust:rust.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_test",
17)
18
19package(default_visibility = [
20 # Public for visibility by "@raze__crate__version//" targets.
21 #
22 # Prefer access through "//third_party/rust/cargo", which limits external
23 # visibility to explicit Cargo.toml dependencies.
24 "//visibility:public",
25])
26
27licenses([
28 "notice", # MIT from expression "MIT OR Apache-2.0"
29])
30
31# Generated Targets
32# buildifier: disable=out-of-order-load
33# buildifier: disable=load-on-top
34load(
35 "@rules_rust//cargo:cargo_build_script.bzl",
36 "cargo_build_script",
37)
38
39cargo_build_script(
40 name = "libc_build_script",
41 srcs = glob(["**/*.rs"]),
42 build_script_env = {
43 },
44 crate_features = [
45 "align",
46 "default",
47 "std",
48 ],
49 crate_root = "build.rs",
50 data = glob(["**"]),
51 edition = "2015",
52 rustc_flags = [
53 "--cap-lints=allow",
54 ],
55 tags = [
56 "cargo-raze",
57 "manual",
58 ],
59 version = "0.2.97",
60 visibility = ["//visibility:private"],
61 deps = [
62 ],
63)
64
65rust_library(
66 name = "libc",
67 srcs = glob(["**/*.rs"]),
68 crate_features = [
69 "align",
70 "default",
71 "std",
72 ],
73 crate_root = "src/lib.rs",
74 crate_type = "lib",
75 data = [],
76 edition = "2015",
77 rustc_flags = [
78 "--cap-lints=allow",
79 ],
80 tags = [
81 "cargo-raze",
82 "manual",
83 ],
84 version = "0.2.97",
85 # buildifier: leave-alone
86 deps = [
87 ":libc_build_script",
88 ],
89)
90
91# Unsupported target "const_fn" with type "test" omitted