blob: a387026196c5940e1b257f2c1f383962618e47b9 [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([
Lorenz Brund141d182023-10-02 15:07:01 +020029 "notice", # MIT from expression "MIT"
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020030])
31
32# Generated Targets
33# buildifier: disable=out-of-order-load
34# buildifier: disable=load-on-top
35load(
36 "@rules_rust//cargo:cargo_build_script.bzl",
37 "cargo_build_script",
38)
39
40cargo_build_script(
Lorenz Brund141d182023-10-02 15:07:01 +020041 name = "errno_dragonfly_build_script",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020042 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020045 crate_root = "build.rs",
46 data = glob(["**"]),
Leopold2aa8b182023-01-14 23:31:43 +010047 edition = "2018",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020048 rustc_flags = [
49 "--cap-lints=allow",
50 ],
51 tags = [
52 "cargo-raze",
53 "manual",
54 ],
Lorenz Brund141d182023-10-02 15:07:01 +020055 version = "0.1.2",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020056 visibility = ["//visibility:private"],
57 deps = [
Lorenz Brund141d182023-10-02 15:07:01 +020058 "@raze__cc__1_0_83//:cc",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020059 ],
60)
61
62rust_library(
Lorenz Brund141d182023-10-02 15:07:01 +020063 name = "errno_dragonfly",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020064 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020065 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020066 data = [],
Leopold2aa8b182023-01-14 23:31:43 +010067 edition = "2018",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020068 rustc_flags = [
69 "--cap-lints=allow",
70 ],
71 tags = [
72 "cargo-raze",
Lorenz Brund141d182023-10-02 15:07:01 +020073 "crate-name=errno-dragonfly",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020074 "manual",
75 ],
Lorenz Brund141d182023-10-02 15:07:01 +020076 version = "0.1.2",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020077 # buildifier: leave-alone
78 deps = [
Lorenz Brund141d182023-10-02 15:07:01 +020079 ":errno_dragonfly_build_script",
80 "@raze__libc__0_2_148//:libc",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020081 ],
82)