blob: e679e93b844742a940ba8f8a55c3f1b79ae1cdb2 [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(
Leopold2aa8b182023-01-14 23:31:43 +010041 name = "thiserror_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(["**"]),
Lorenz Brund141d182023-10-02 15:07:01 +020047 edition = "2021",
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 = "1.0.49",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020056 visibility = ["//visibility:private"],
57 deps = [
58 ],
59)
60
61rust_library(
Leopold2aa8b182023-01-14 23:31:43 +010062 name = "thiserror",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020063 srcs = glob(["**/*.rs"]),
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020064 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020065 data = [],
Lorenz Brund141d182023-10-02 15:07:01 +020066 edition = "2021",
Leopold2aa8b182023-01-14 23:31:43 +010067 proc_macro_deps = [
Lorenz Brund141d182023-10-02 15:07:01 +020068 "@raze__thiserror_impl__1_0_49//:thiserror_impl",
Leopold2aa8b182023-01-14 23:31:43 +010069 ],
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020070 rustc_flags = [
71 "--cap-lints=allow",
72 ],
73 tags = [
74 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010075 "crate-name=thiserror",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020076 "manual",
77 ],
Lorenz Brund141d182023-10-02 15:07:01 +020078 version = "1.0.49",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020079 # buildifier: leave-alone
80 deps = [
Leopold2aa8b182023-01-14 23:31:43 +010081 ":thiserror_build_script",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020082 ],
83)
84
85# Unsupported target "compiletest" with type "test" omitted
86
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020087# Unsupported target "test_backtrace" with type "test" omitted
88
Leopold2aa8b182023-01-14 23:31:43 +010089# Unsupported target "test_deprecated" with type "test" omitted
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020090
Leopold2aa8b182023-01-14 23:31:43 +010091# Unsupported target "test_display" with type "test" omitted
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020092
Leopold2aa8b182023-01-14 23:31:43 +010093# Unsupported target "test_error" with type "test" omitted
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020094
Leopold2aa8b182023-01-14 23:31:43 +010095# Unsupported target "test_expr" with type "test" omitted
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020096
Leopold2aa8b182023-01-14 23:31:43 +010097# Unsupported target "test_from" with type "test" omitted
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020098
Leopold2aa8b182023-01-14 23:31:43 +010099# Unsupported target "test_generics" with type "test" omitted
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200100
Leopold2aa8b182023-01-14 23:31:43 +0100101# Unsupported target "test_lints" with type "test" omitted
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200102
Leopold2aa8b182023-01-14 23:31:43 +0100103# Unsupported target "test_option" with type "test" omitted
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200104
Leopold2aa8b182023-01-14 23:31:43 +0100105# Unsupported target "test_path" with type "test" omitted
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200106
107# Unsupported target "test_source" with type "test" omitted
Leopold2aa8b182023-01-14 23:31:43 +0100108
109# Unsupported target "test_transparent" with type "test" omitted