blob: 43d0e4f57b187c6bbe3fe9be3fcbbc1f3ca68952 [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([
29 "notice", # MIT from expression "MIT OR Apache-2.0"
30])
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 = "backtrace_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(["**"]),
47 edition = "2018",
48 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.3.69",
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 ] + selects.with_or({
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020060 (
61 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
62 ): [
63 ],
64 "//conditions:default": [],
65 }),
66)
67
Lorenz Brund141d182023-10-02 15:07:01 +020068# Unsupported target "benchmarks" with type "bench" omitted
69
70# Unsupported target "backtrace" with type "example" omitted
71
72# Unsupported target "raw" with type "example" omitted
73
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020074rust_library(
Lorenz Brund141d182023-10-02 15:07:01 +020075 name = "backtrace",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020076 srcs = glob(["**/*.rs"]),
77 aliases = {
78 },
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020079 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020080 data = [],
81 edition = "2018",
82 rustc_flags = [
83 "--cap-lints=allow",
84 ],
85 tags = [
86 "cargo-raze",
Lorenz Brund141d182023-10-02 15:07:01 +020087 "crate-name=backtrace",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020088 "manual",
89 ],
Lorenz Brund141d182023-10-02 15:07:01 +020090 version = "0.3.69",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020091 # buildifier: leave-alone
92 deps = [
Lorenz Brund141d182023-10-02 15:07:01 +020093 ":backtrace_build_script",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020094 "@raze__cfg_if__1_0_0//:cfg_if",
Lorenz Brund141d182023-10-02 15:07:01 +020095 "@raze__rustc_demangle__0_1_23//:rustc_demangle",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020096 ] + selects.with_or({
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020097 (
98 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
99 ): [
Lorenz Brund141d182023-10-02 15:07:01 +0200100 "@raze__addr2line__0_21_0//:addr2line",
101 "@raze__libc__0_2_148//:libc",
102 "@raze__miniz_oxide__0_7_1//:miniz_oxide",
103 "@raze__object__0_32_1//:object",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200104 ],
105 "//conditions:default": [],
106 }),
107)
Lorenz Brund141d182023-10-02 15:07:01 +0200108
109# Unsupported target "accuracy" with type "test" omitted
110
111# Unsupported target "concurrent-panics" with type "test" omitted
112
113# Unsupported target "current-exe-mismatch" with type "test" omitted
114
115# Unsupported target "long_fn_name" with type "test" omitted
116
117# Unsupported target "skip_inner_frames" with type "test" omitted
118
119# Unsupported target "smoke" with type "test" omitted